Outlook 2007 - VBA macro

  • Thread starter Thread starter Sergio Neves
  • Start date Start date
S

Sergio Neves

Hi

I would like to make a VBA macro for Outlook 2007 that could be initialized
when I start the outlook session to organize my folders and subfolders in the
navigation pane.

I have to main folders:

1) Personal folders
2) Gmail

I want that the macro minimizes the folder Gmail (don’t see its subfolders
in the navigation pane) and maximizes some folders in my personal folders. I
don’t want to click in the +/- buttons to organize the folders and subfolders
that I see in the navigation pane every time I start outlook.

I can’t find the object to do that. Is it possible?!

Thanks for the help.

Sergio Neves
 
You cannot collapse the folders by code. Expanding folders works if you set
the folder as CurrentFolder.

--
Best regards
Michael Bauer - MVP Outlook

: VBOffice Reporter for Data Analysis & Reporting
: Outlook Categories? Category Manager Is Your Tool
: <http://www.vboffice.net/product.html?pub=6&lang=en>

Am Thu, 3 Jul 2008 09:29:03 -0700 schrieb Sergio Neves:
 
Back
Top