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.
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.
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
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.