Outlook 2007 - VBA macro

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
 
M

Michael Bauer [MVP - Outlook]

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:
 

Ask a Question

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.

Ask a Question

Top