PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Macro to export personal folders
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Macro to export personal folders
![]() |
Macro to export personal folders |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi
How would I write a macro to automate an export command? I want to export the 'Outlook Today' personal folders file Including subfolders to C:\backfolder\outlook.pst and Don't import duplicates. I use Visual Basic and Visual Basic with Access but don't know what objects and methods to use in Outlook. Is there a knowledgebase somewhere that will help Thanks Tom |
|
|
|
#2 |
|
Guest
Posts: n/a
|
You might find the code samples at http://www.slipstick.com/dev/customimport.htm#samples useful.
-- Sue Mosher, Outlook MVP Outlook and Exchange solutions at http://www.slipstick.com Author of Microsoft Outlook Programming: Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Tom Ross" <tomross@pipebendersinc.com> wrote in message news:OuD8q3ufDHA.1700@TK2MSFTNGP10.phx.gbl... > Hi > > How would I write a macro to automate an export command? > > I want to export the 'Outlook Today' personal folders file > Including subfolders > to C:\backfolder\outlook.pst > and Don't import duplicates. > > I use Visual Basic and Visual Basic with Access but don't know what objects > and methods to use in Outlook. > > Is there a knowledgebase somewhere that will help > > Thanks > > Tom > > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
The import/export engine is not exposed to developers. You would need to
write your own method of mounting a personal folder file, copying items from the public folder to the personal folder file, and then remove it. If you are using Outlook 2000 or newer, the methods you are after are AddStore/RemoveStore that is exposed by the Namespace object. /Neo PS - In Outlook 2000, one of the methods is hidden. "Tom Ross" <tomross@pipebendersinc.com> wrote in message news:OuD8q3ufDHA.1700@TK2MSFTNGP10.phx.gbl... > Hi > > How would I write a macro to automate an export command? > > I want to export the 'Outlook Today' personal folders file > Including subfolders > to C:\backfolder\outlook.pst > and Don't import duplicates. > > I use Visual Basic and Visual Basic with Access but don't know what objects > and methods to use in Outlook. > > Is there a knowledgebase somewhere that will help > > Thanks > > Tom > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

