Expand/Collapse

B

Ben Adams

Want to add to my VB code to Expand or Collapse groups.

Specificly for a Task folder, Under View menu you can click Expand, or
Collapse

??

Ben
 
K

Ken Slovak - [MVP - Outlook]

There's nothing in the Outlook object model for that. You'd have to get a
handle to the CommandBarButton object that represents what you want in the
menu structures and call the Execute method on that button or buttons. I'd
also check for the Enabled property of the buttons.
 
Top