Show "To" Field in Sent Items Folder

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I open my Sent Items folder, I naturally want to see the "To" field in
the default view, and I've manually set the view this way a hundred times,
but my company's server somehow keeps overwriting the default view and
putting the "From" field in the view instead. Can someone show me the code
for resetting the default view for the Sent Items folder so that it shows the
"To" field and not the "From" field? I'm tired of manually resetting the
view, and I want a macro to do it on startup.

Thanks for your help.
 
The easiest would be to create the view manually once more again. Then read
the Application.ActiveExplorer.CurrentFolder.CurrentView.Xml property. Copy
all the string and store it in a variable.

At startup, you can write that value back into the Xml property and call the
CurrentView.Apply method.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>

Am Tue, 31 Jul 2007 07:54:00 -0700 schrieb Stratuser:
 
Back
Top