Outlook 2000 vba

P

PeterQ

Hello everybody.

I am trying to find the VBA code to hide/show the folderlist in Outlook
2000 as you can do with the OutlookBar. Anybody there to help me ?
Please..

Greetings,

Peter


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
K

Ken Slovak - [MVP - Outlook]

There is no direct method in the Outlook object model for that. You would
have to get that menu item in the View menu as an Office.CommandBarButton
and call that button's Execute method. Since it's a toggle you could read
its State property to see if it was msoButtonDown or msoButtonUp before you
toggled the button state to see if you wanted to toggle it.
 
Top