Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Giving a Macro a tool tip
When you create a macro can you give it a name? I have several macros on a
toolbar but when you hover over them each macro has its number, ie Macro1, Macro2, etc. As they have been assigned icons I was wondering if a name could be given to them. emc |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Giving a Macro a tool tip
Someone can probably give a more complete answer, but I use Word 2003 and I
have done this by right clicking on the toolbar | customize | right click again on the toolbar macro and you get choices you might use. dp "emc" wrote: When you create a macro can you give it a name? I have several macros on a toolbar but when you hover over them each macro has its number, ie Macro1, Macro2, etc. As they have been assigned icons I was wondering if a name could be given to them. emc |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Giving a Macro a tool tip
emc wrote:
When you create a macro can you give it a name? I have several macros on a toolbar but when you hover over them each macro has its number, ie Macro1, Macro2, etc. As they have been assigned icons I was wondering if a name could be given to them. emc (Assuming you have Word 2003 or earlier): You can change the text of the button's tooltip at any time. Open the Tools Customize dialog. Then right-click the button on the toolbar. In the menu that opens, the Name field near the top is editable -- make it say whatever you want. This is different from changing the macro's name. To do that, open the VBA editor and change the first line of the macro. For example, change Sub Macro1() to Sub ThisIsMyMacro() If you do that, you'll have to delete the existing button (which won't work any more) and create a new one. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
#4
|
|||
|
|||
thnks fo rthe post
|
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Giving a Macro a tool tip
Thanks for that, Jay. I was always afraid that if I changed the display
name, Word wouldn't know what macro it was associated with any more. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA "Jay Freedman" wrote in message ... emc wrote: When you create a macro can you give it a name? I have several macros on a toolbar but when you hover over them each macro has its number, ie Macro1, Macro2, etc. As they have been assigned icons I was wondering if a name could be given to them. emc (Assuming you have Word 2003 or earlier): You can change the text of the button's tooltip at any time. Open the Tools Customize dialog. Then right-click the button on the toolbar. In the menu that opens, the Name field near the top is editable -- make it say whatever you want. This is different from changing the macro's name. To do that, open the VBA editor and change the first line of the macro. For example, change Sub Macro1() to Sub ThisIsMyMacro() If you do that, you'll have to delete the existing button (which won't work any more) and create a new one. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Giving a Macro a tool tip
Jay,
It was the Macro name I was wanting to change and this has worked a treat. Thank you. emc "Jay Freedman" wrote: emc wrote: When you create a macro can you give it a name? I have several macros on a toolbar but when you hover over them each macro has its number, ie Macro1, Macro2, etc. As they have been assigned icons I was wondering if a name could be given to them. emc (Assuming you have Word 2003 or earlier): You can change the text of the button's tooltip at any time. Open the Tools Customize dialog. Then right-click the button on the toolbar. In the menu that opens, the Name field near the top is editable -- make it say whatever you want. This is different from changing the macro's name. To do that, open the VBA editor and change the first line of the macro. For example, change Sub Macro1() to Sub ThisIsMyMacro() If you do that, you'll have to delete the existing button (which won't work any more) and create a new one. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Autofit is giving me fits | Tables | |||
"How do I delete a Macro from the tool bar? | Microsoft Word Help | |||
How do I keep a macro on the tool bar? | Microsoft Word Help | |||
How do I remove a macro from the tool bar? | Microsoft Word Help | |||
Select Tool in Macro ?? | New Users |