Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intercept Ribbon controls in Mac Word 2011

47 views
Skip to first unread message

anuba...@gmail.com

unread,
Jun 13, 2012, 5:31:22 AM6/13/12
to
Is it possible to intercept the ribbon controls in Mac Word 2011.?

I am able to intercept the ribbon controls in word 2007 and Word 2010 using Word Commands.
But how can i get the command names (idMso) in Word 2011.

Please help.
Message has been deleted

anuba...@gmail.com

unread,
Jun 14, 2012, 1:51:12 AM6/14/12
to
To be more specific i want to intercept the controls present on the ribbon.

For example, I want when i click BOLD control present on the ribbon, it should call my Macro and not the inbuiilt Bold command.
I am able to achieve it in Word 2007 and Word 2010 by creating a macro which has the same name as the Command name of the control but this doesn't work in Mac Word 2011.
Although the command name for the control is same in both toolbar and ribbon in word 2011, and the control in Toolbar is getting intercepted but not in ribbon.

Is there any way out to achieve it ?

If it is not possible to intercept a control in ribbon, is there any way out to disable a particular control in ribbon conditionally ?


On Wednesday, June 13, 2012 9:03:07 PM UTC+5:30, Michael Vilain wrote:
> In article <247f5dd6-ed9d-44c0...@googlegroups.com>,
> If you can code and have access to the API documents for Word, I'm sure
> you can come up with something. Many Word tool developers built stuff
> with their own toolbar ribbons (e.g. Google, MathType, etc.). However,
> having an architecture that allowed one vendor to 'takeover' or walk on
> another's product would be a really Bad Idea(tm), IMO.
>
> If you can do this, I wouldn't be surprised. Microsoft product managers
> make strange decisions sometimes. But I tend to doubt it's possible.
>
> Instead of "how", why not describe what you're trying to do. Maybe
> there's another way.
>
> --
> DeeDee, don't press that button! DeeDee! NO! Dee...
> [I filter all Goggle Groups posts, so any reply may be automatically ignored]

anuba...@gmail.com

unread,
Jun 14, 2012, 1:49:06 AM6/14/12
to
To be more specific i want to intercept the controls present on the ribbon.

For example, I want when i click BOLD control present on the ribbon, it should call my Macro and not the inbuiilt Bold command.
I am able to achieve it in Word 2007 and Word 2010 by creating a macro which has the same name as the Command name of the control but this doesn't work in Mac Word 2011.
Although the command name for the control is same in both toolbar and ribbon in word 2011, and the control in Toolbar is getting intercepted but not in ribbon.

Is there any way out to achieve it ?

If it is not possible to intercept a control in ribbon, is there any way out to disable a particular control in ribbon conditionally ?



On Wednesday, June 13, 2012 9:03:07 PM UTC+5:30, Michael Vilain wrote:
> In article <247f5dd6-ed9d-44c0...@googlegroups.com>,
> anuba...@gmail.com wrote:
>
Message has been deleted
0 new messages