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 - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Executing Ribbon Command from Code Outlook 2010



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 29th 10, 01:59 PM posted to microsoft.public.outlook.program_forms
John Webster
external usenet poster
 
Posts: 2
Default Executing Ribbon Command from Code Outlook 2010

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.
--
- John
Ads
  #2  
Old April 30th 10, 03:44 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Executing Ribbon Command from Code Outlook 2010

I haven't heard of anything that would provide that ability, but I haven't
tested that sort of thing so far.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"John Webster" johnwebster @ discussions.microsoft.com wrote in message
...
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.
--
- John


  #3  
Old April 30th 10, 04:58 PM posted to microsoft.public.outlook.program_forms
John Webster
external usenet poster
 
Posts: 2
Default Executing Ribbon Command from Code Outlook 2010

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.

--
- John


"Ken Slovak - [MVP - Outlook]" wrote:

I haven't heard of anything that would provide that ability, but I haven't
tested that sort of thing so far.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"John Webster" johnwebster @ discussions.microsoft.com wrote in message
...
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.
--
- John


.

  #4  
Old April 30th 10, 06:39 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Executing Ribbon Command from Code Outlook 2010

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"John Webster" johnwebster @ discussions.microsoft.com wrote in message
news
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.

--
- John


 




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
Rule for messages from Hotmail account not executing dtgVA Outlook - Installation 3 May 1st 09 05:44 PM
Code not executing when form is opened from additional mailbox Jim Fazakas Outlook - Using Forms 2 January 3rd 08 10:42 PM
Outlook 2007 Click a Button on the Ribbon through Code [email protected] Add-ins for Outlook 5 December 14th 06 09:04 PM
Project1 not executing pfa Outlook and VBA 2 September 14th 06 06:03 PM
Outlook Form Command Button Code Tipcie Outlook and VBA 1 July 26th 06 03:26 PM


All times are GMT +1. The time now is 12:58 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.