You can copy the folders and items in the mailbox OST to a PST file, but
that won't include the profile information such as email accounts. Many
things in Outlook are stored in hidden items, which you won't be able to
copy in many cases, so things like global custom views probably won't make
it over.
Exactly what are you trying to accomplish? Have you considered looking for
commercial backup programs for Outlook?
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"John L." <JohnL.TakeThisOut@discussions.microsoft.com> wrote in message
news:F760178E-76D0-415D-800E-CE17F611EFCF@microsoft.com...
> We are using Microsoft Outlook in cached exchange mode. The email
> profiles
> are using OST files.
>
> Is there a way to export an email profile (email, contacts, tasks,
> schedules
> etc.) using VBA code?
>
> Thank you for the help.
>