Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Word - Macro on toolbar 2

Status
Not open for further replies.

mscallisto

Technical User
Jun 14, 2001
2,990
US
In Word I was hoping to assign a macro to an icon and place it on a toolbar instead if assigning it to a keyboard sequence.

The following navagation looked promising but until I got to assign macro to toolbar.


Tools > Macro > Record a macro > Assign macro to toolbar

Can someone explain "Assign macro to toolbar"?
 
This is what you want to do. Give your macro a name, click the Toolbar button and drag the item "Normal.NewMacro.?" onto your toolbar where you want it to go (the ? represents the name you gave the macro). Before closing the Customize dialog, you will need to set some properties for your button. Right-click and select "Change Button Image" to select an icon for your button (you can always select "Edit Button Image" and create your own). Then right-click and select "Default Style" to remove the text from the button and only show the icon. You can now close the Customize dialog and record your macro.

Note: if you select a different document to save your macro in (i.e. not Normal.dot), then "Normal" in the item to drag to the toolbar above will be replaced with the document name you select to save your macro in.



Dan.
 
Dan1967

First I should say I'm using Word2000.

As you suggested, I created and named a macro "UpperCaseConvert".

Your next suggestion eludes me, can you maybe re-phrase the following?

click the Toolbar button and drag the item "Normal.NewMacro.UpperCase" onto your toolbar where you want it to go


 
To add an icon to a toolbar to run a macro use this procedure:

1. Click Tools\Customize (or right click on a toolbar and select customize).

2. On the Customize dialog box, select the Commands tab.

3. In the categories window, select Macros.

4. Find the Macro in the Commands window, click and drag it to the desired toolbar.

5. With the Customize dialog box still open, right click on the new icon and change properties as necessary (ie, new name, select icon).

6. Close the Customize dialog box.
 
Thanks very much rwgress.....it works great in Word and Excel too.
 
Glad I could help. I should have said look for your macro and drag to the toolbar. Thanks for getting my back, rwgress.



Dan.
 
Thanks for your help. This is one that had befuddled me for some time. Our helpLESS Desk here asked their stock question "Why are you playing with Macros
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top