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.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"Ben Adams" wrote in message
...
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