acherony was telling us:
acherony nous racontait que :
I was trying ALT-F8
Q: how do I create toolbar button for a macro
Do you want the button on a new toolbar (that culd potentially contain only
one button) or simnplay ad the butyton to an existing toolbar?
If the latter:
Tools > Customize... >Commands tab.
There, in the list on the left ("Categories"), select "Macros".
Then, make sure that you selected your template/document in the "Save in"
drop down at the bottom of the dialog. Finally, locate your macro in the
list on the right ("Commands").
Once you have located your macro select it and drag it to the toolbar where
you want it. This will create a button with a caption resembling:
"MyProjectName.MyModuleName.MyMacroName". Normally we want to change that.
Right click the button to access all the properties you can manipulate. You
can even copy paste from small icon on the page of the document or another
button face if you want a picture on the button face.
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site:
http://www.word.mvps.org