Folder views

  • Thread starter Thread starter Guest
  • Start date Start date
Maybe. Outlook 2002 and 2003 support a View object with an XML property that
contains most but not all of the view settings. The major one omitted is
automatic formatting.
 
There's two ways to do this:

1) With code: select the folder containing the desired view in Outlook, and
write a macro to output the value of the ActiveExplorer.CurrentView.XML
property to the Immediate window. Copy and paste into a file. Then on the
destination computer,
write another macro to read the text from that file into the XML property of
a View object variable derived from the ActiveExplorer.CurrentView property;
then call View.Save.

2) Manually: export the folder to a .pst file. On the destination computer,
load the .pst, select the folder you want to import the view into and click
"File -> Folder -> Copy Folder Design...". Then navigate to the folder in
the .pst containing the view and select the "Forms & Views" box.
 
Note that the Copy Folder Design command is available only in Exchagne
profiles.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Sue,

So how DOES one copy the automatic formatting settings from user to user? I
haven't found a way to expose this object yet.

Thanks

EagleUK
 
In an Exchange environment, you use the File | Folder | Copy Folder Design
command to copy the entire view to another folder -- maybe a public folder
or a .pst file folder -- and then reverse the process to copy it to the
other user. It cannot be done programmatically.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Actually, it's pretty tedious, but it should get the job done.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top