Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I assign a macro to a command button
I created a Macro. I inserted a command button in the document. How do I link
the macro to the button? Thanks in advance. Using Word XP. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I assign a macro to a command button
G'day Kooljay2 ,
look at the help for the MACROBUTTON field. It says something like: MACROBUTTON "MyMacroName" Display text for the button Steve Hudson - Word Heretic steve from wordheretic.com (Email replies require payment) Without prejudice Kooljay2 reckoned: I created a Macro. I inserted a command button in the document. How do I link the macro to the button? Thanks in advance. Using Word XP. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I assign a macro to a command button
Hi ?B?S29vbGpheTI=?=,
I created a Macro. I inserted a command button in the document. How do I link the macro to the button? Thanks in advance. Using Word XP. The simpler way is to use Tools/Customize/Commands, category macro. Drag the macro to the toolbar (next to the button you made). Right-click your button and "Copy Face". Right click the new button and "Paste Face" if you created a special icon. Then remove your first button. The only way to connect a macro with an existing button is to use another macro, assigning the button's macro to the button's OnAction property. This is possible, of course, but we don't have enough information to tell you the code (the name of the toolbar and the caption of your button are required). Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how can I assign an icon on my toolbar to access my macro | Microsoft Word Help | |||
Can I assign a macro to a smaller icon than the full pathname? | Microsoft Word Help | |||
Assign a macro to a keystroke combination | Microsoft Word Help | |||
How to assign a macro to a shape in a word document? | Microsoft Word Help | |||
How do I assign a macro to a toolbar/button using Word 2003? | Microsoft Word Help |