Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-10-2011, 07:27 AM
davidmrt davidmrt is offline Need to put two highlight buttons on toolbar in different colors Mac OS X Need to put two highlight buttons on toolbar in different colors Office for Mac 2011
Novice
Need to put two highlight buttons on toolbar in different colors
 
Join Date: Dec 2011
Posts: 4
davidmrt is on a distinguished road
Default 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?
Reply With Quote
  #2  
Old 12-10-2011, 01:04 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Need to put two highlight buttons on toolbar in different colors Windows 7 64bit Need to put two highlight buttons on toolbar in different colors Office 2010 32bit
Moderator
 
Join Date: Aug 2011
Posts: 3,907
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

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
Reply With Quote
  #3  
Old 12-10-2011, 01:08 PM
davidmrt davidmrt is offline Need to put two highlight buttons on toolbar in different colors Mac OS X Need to put two highlight buttons on toolbar in different colors Office for Mac 2011
Novice
Need to put two highlight buttons on toolbar in different colors
 
Join Date: Dec 2011
Posts: 4
davidmrt is on a distinguished road
Default

Thank you for that, Stefan. I appreciate it. Word 2011 for Mac does support macros - I will see if that solution works.

Thanks again
Reply With Quote
  #4  
Old 12-10-2011, 01:15 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Need to put two highlight buttons on toolbar in different colors Windows 7 64bit Need to put two highlight buttons on toolbar in different colors Office 2010 32bit
Moderator
 
Join Date: Aug 2011
Posts: 3,907
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

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
Reply With Quote
  #5  
Old 12-10-2011, 01:17 PM
davidmrt davidmrt is offline Need to put two highlight buttons on toolbar in different colors Mac OS X Need to put two highlight buttons on toolbar in different colors Office for Mac 2011
Novice
Need to put two highlight buttons on toolbar in different colors
 
Join Date: Dec 2011
Posts: 4
davidmrt is on a distinguished road
Default

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.
Reply With Quote
  #6  
Old 12-11-2011, 02:54 AM
davidmrt davidmrt is offline Need to put two highlight buttons on toolbar in different colors Mac OS X Need to put two highlight buttons on toolbar in different colors Office for Mac 2011
Novice
Need to put two highlight buttons on toolbar in different colors
 
Join Date: Dec 2011
Posts: 4
davidmrt is on a distinguished road
Default

Perfect! It worked fine - just what I wanted.

Thank you again.
Reply With Quote
  #7  
Old 12-11-2011, 05:54 AM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Need to put two highlight buttons on toolbar in different colors Windows 7 64bit Need to put two highlight buttons on toolbar in different colors Office 2010 32bit
Moderator
 
Join Date: Aug 2011
Posts: 3,907
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

You are welcome!
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
Reply



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
Need to put two highlight buttons on toolbar in different colors 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

Other Forums: Access Forums

All times are GMT -7. The time now is 06:35 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft