A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook 2007 - VBA macro



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 3rd 08, 08:42 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Outlook 2007 - VBA macro



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:

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

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need some help with macro for outlook (2007) Madmann Outlook and VBA 0 June 20th 08 01:03 AM
Macro outlook 2007 Andrea Outlook and VBA 1 November 13th 07 07:52 PM
Outlook 2007 Macro Garan Outlook and VBA 5 July 3rd 07 09:54 PM
Calendar Macro for Outlook 2007 Bravadarose Outlook and VBA 3 June 28th 07 02:46 PM
Macro works in Word 2007, but not in Outlook 2007 LesG Outlook and VBA 13 March 10th 07 11:30 PM


All times are GMT +1. The time now is 12:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.