It isn't simple but you should be able to put a button in a group in the ribbon or the quick access toolbar (QAT) as follows:
Start by closing and re-opening Word. If you don't, any new macros may not be listed. Then, if you want the button in the QAT
- Go to Word->Preferences->Ribbon & Toolbar, then choose Quick Access Toolbar
- Under "Choose commands from" on the left, choose "Macros"
- Select the macro name (the list shows the "complete" macro name, e.g. Normal.NewMacros.yourmacroname) and click the right-facing arrow in the middle of the dialog box.
- You can change the "display name" of the macro using the "Preferences" button at the bottom of the list of items in the QAT (it's the button that looks like a cog).
If you want the button in the ribbon, you have to put it in a custom group (i.e. you cannot add it to any of the built-in groups). A custom group can either be in a built-in Tab or a custom Tab. Let's assume you need to create a new Custom Group and possibly
a new tab.
- Go to Word->Preferences->Ribbon & Toolbar, then choose Ribbon
- If you want a new Tab, click the + button at the bottom left of the list of "Main Tabs", then click "New tab". Word will create the new tab and also a new custom group. You can rename the tab by selecting it and clicking the Preference button (see above).
- If you want a new group in an existing Tab, select the tab, then click the + button and click "New group"
4. You can rename the group by selecting it and clicking the Preference button (see above).
- Select the group where you want to put the button and...
- Under "Choose commands from" on the left, choose "Macros"
- Select the macro name (the list shows the "complete" macro name, e.g. Normal.NewMacros.yourmacroname) and click the right-facing arrow in the middle of the dialog box.
- You can change the "display name" of the macro using the "Preferences" button.