#1
|
|||
|
|||
Need to put two highlight buttons on toolbar in different colors
I do a lot of different color highlighting in my documents. I want to put two or more highlight buttons on the toolbar with different colors.
It's easy enough to add a second instance of the highlight button to the toolbar. But if I do this, whatever color I select in the first highlight button is also shown in the second highlight button. I need a way to make each highlight button display a different color. Any ideas? |
#2
|
||||
|
||||
If macros are supported in your version of Word, you should be able to create macros that apply the desired highlighting color.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#3
|
|||
|
|||
Thank you for that, Stefan. I appreciate it. Word 2011 for Mac does support macros - I will see if that solution works.
Thanks again |
#4
|
||||
|
||||
It's really not a complex task with a macro. Try the following two macros:
Sub CustomHighlightOne() Selection.Range.HighlightColorIndex = wdYellow End Sub Sub CustomHighlightTwo() Selection.Range.HighlightColorIndex = wdBlue End Sub Of course, you'd have to change the values for HighlightColorIndex to suit your needs. See http://www.gmayor.com/installing_macro.htm for assistance with installing macros.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#5
|
|||
|
|||
Once again my thanks; it's totally above and beyond the call of duty to provide such detailed help to a complete stranger online. I'll have a go with those macros and let you know how they work out.
|
#6
|
|||
|
|||
Perfect! It worked fine - just what I wanted.
Thank you again. |
#7
|
||||
|
||||
You are welcome!
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Highlight un-identifiable | wolfer | Word VBA | 0 | 08-24-2011 06:37 AM |
Create a toolbar of fill colors | itgoeson | PowerPoint | 0 | 08-24-2010 01:26 PM |
custom toolbar with buttons to open new docs based on templates | Brandi | Mail Merge | 18 | 06-15-2010 02:10 PM |
find - reading highlight - highlight all / highlight doesn't stick when saved | bobk544 | Word | 3 | 04-15-2009 03:31 PM |
command buttons | ronf | Excel | 0 | 04-28-2006 08:32 AM |