![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
A bunch of people at our company have been saving their emails to the
network drives by draging them from outlook 2003 to the file system. The problem is that when you do this you loose the intelligence of the messages when it comes to finding one email among thousands. What I have been tasked to do is reverse this by creating a .pst file for each of our projects(which I have already done there are 1500 of them by the way) and importing the ..msg files into the .pst file they belong to. The only way I can do this by manually draging the files from the network drive into the folder in Outlook. I can't seem to find a way to use vba to do this in an automated manner. So the goal is: Search each folder in g:\projects for *.msg files. When a folder contains *.msg files, Open the FOLDERNAME.pst file in outlook ie. c:\projects\12345_01.pst and copy the .msg files into the newly opened ..pst file. Any suggestions? Thanks Steve |
Ads |
#2
|
|||
|
|||
![]()
Am Fri, 1 Sep 2006 17:14:14 -0600 schrieb Stever:
For searching the files you could use the FileSystemObject of the Microsoft Scripting Runtime. CreateItemFromTemplate you can import a *.msg file but then you loose all sender related properties. Instead I'd use GetMessageFromMsgFile with Redemption (www.dimastr.com). -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.VBOffice.net -- A bunch of people at our company have been saving their emails to the network drives by draging them from outlook 2003 to the file system. The problem is that when you do this you loose the intelligence of the messages when it comes to finding one email among thousands. What I have been tasked to do is reverse this by creating a .pst file for each of our projects(which I have already done there are 1500 of them by the way) and importing the .msg files into the .pst file they belong to. The only way I can do this by manually draging the files from the network drive into the folder in Outlook. I can't seem to find a way to use vba to do this in an automated manner. So the goal is: Search each folder in g:\projects for *.msg files. When a folder contains *.msg files, Open the FOLDERNAME.pst file in outlook ie. c:\projects\12345_01.pst and copy the .msg files into the newly opened .pst file. Any suggestions? Thanks Steve |
#3
|
|||
|
|||
![]()
Or use Safe*Item/RDOMail.Import(..., olMSG) in Redemption to import an MSG
file into an existing (or a newly created) message residing in any store. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Michael Bauer [MVP - Outlook]" wrote in message ... Am Fri, 1 Sep 2006 17:14:14 -0600 schrieb Stever: For searching the files you could use the FileSystemObject of the Microsoft Scripting Runtime. CreateItemFromTemplate you can import a *.msg file but then you loose all sender related properties. Instead I'd use GetMessageFromMsgFile with Redemption (www.dimastr.com). -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.VBOffice.net -- A bunch of people at our company have been saving their emails to the network drives by draging them from outlook 2003 to the file system. The problem is that when you do this you loose the intelligence of the messages when it comes to finding one email among thousands. What I have been tasked to do is reverse this by creating a .pst file for each of our projects(which I have already done there are 1500 of them by the way) and importing the .msg files into the .pst file they belong to. The only way I can do this by manually draging the files from the network drive into the folder in Outlook. I can't seem to find a way to use vba to do this in an automated manner. So the goal is: Search each folder in g:\projects for *.msg files. When a folder contains *.msg files, Open the FOLDERNAME.pst file in outlook ie. c:\projects\12345_01.pst and copy the .msg files into the newly opened .pst file. Any suggestions? Thanks Steve |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Exporting/Importing PST files - error - too large file with free s | Rustam | Outlook - General Queries | 2 | August 26th 06 07:09 PM |
trouble importing archived pst files | Bradley in VT | Outlook - Using Contacts | 8 | June 21st 06 12:20 AM |
trouble importing archived pst files | Bradley in VT | Outlook - Using Contacts | 4 | June 20th 06 09:57 PM |
Importing PST files | cmar | Outlook - Installation | 2 | April 6th 06 10:06 PM |
Importing .pst files to OE6 | Eric Harden | Outlook Express | 5 | January 8th 06 09:37 PM |