Toolbar buttons

G

Guest

Is it possible to have duplicate toolbar buttons on display? I want to use
the highlight function and having buttons set to each of the colours I will
be using will be easier that changing the colour each time.
 
J

Jay Freedman

You can have duplicate buttons. However, in the case of the
highlighter, they will all use the same color, so your plan won't
work.

Instead, you need to create several macros like this one:

Sub HighlightRed()
Selection.Range.HighlightColorIndex = wdRed
End Sub

Make each one with a different name and matching color. Then assign a
separate button to each macro.

These articles will help:
http://www.gmayor.com/installing_macro.htm
http://www.word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToToolbar.htm

An alternative is at http://gregmaxey.mvps.org/Highlighter.htm.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top