Thread: [Solved] Word 2010: Shortcut keys
View Single Post
 
Old 08-07-2012, 04:20 AM
asearle asearle is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Aug 2012
Posts: 9
asearle is on a distinguished road
Default Word 2010: Shortcut keys

Hi Everyone,

I read a report that with this syntax ...

Application.MacroOptions Macro:="roevpb", Description:="Beschreibung", ShortcutKey:="ALT+q"

... one could declare the ShortcutKey needed to run a macro.

We have used the manual selection (in the menus) of this and that worked OK but we really need to define this in the code because the application will be rolled out to others.

Can anyone help us with this?

And we also need a way to programmatically add icons/macro calls to the ribbon. Any ideas how this can be done? So far there are recommendations to use blocks of XML to define this but that all seems very complicated.

Thanks very much,
Alan Searle
Reply With Quote