Executing Ribbon Command from Code Outlook 2010

  • Thread starter Thread starter John Webster
  • Start date Start date
J

John Webster

As far as I can tell, ExecuteMso is now only available on the
Office.CommandBars object, which is deprecated in Outlook 2010.



I have an application that (in versions prior to 2010) executes the
"MoveNext" command for Outlook Inspectors.



Does anyone have any information about the ability (or lack thereof) to
execute Outlook commands, especially those which don't appear on the Ribbon ?



Thanks.
 
I haven't heard of anything that would provide that ability, but I haven't
tested that sort of thing so far.
 
Ken, thanks for your reply.

As it turns out, the Explorer & Inspector CommandBars are just hidden in
2010, as I learned this morning.

You CAN set them in code and use the ExecuteMso method of the CommandBars.

I don't know if that's the way it's going to be going forward....

Cheers.
 
I had some hints that they could still be used, but it's all unsupported so
there's no guarantee that will work even when SP1 comes out much less future
versions. At some point they won't just be hidden objects but non-existent
objects.
 
Back
Top