Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-13-2016, 07:41 PM
ElfegoBaca ElfegoBaca is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: May 2011
Posts: 4
ElfegoBaca is on a distinguished road
Default QuickAccess Toolbar Icon - How to make the icon display the state of the icon's action

I created a Macro called "ProtectUnprotect" that toggles the document from protected to unprotected mode. I then placed the macro on the QuickAccess Toolbar. It works as it should. Each time I press the icon for the macro it toggles from protect to unprotect. My problem is that several years ago I created the macro and the icon. It used to display the words "Protect" and "unprotect" each time that you would hover over the icon. Now that I have changed computers I cannot remember how I did that. Does anyone know how to do this.
Reply With Quote
  #2  
Old 08-13-2016, 08:42 PM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 2,596
gmayor is a jewel in the roughgmayor is a jewel in the roughgmayor is a jewel in the roughgmayor is a jewel in the rough
Default

You could instead simply use the LOCK command from the all commands set which obviously displays its setting.
__________________
Graham Mayor - MS MVP (Word)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
Reply

Tags
icons, protect, quick access toolbar

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to remove the refresh icon from the save icon in the quick access toolbar in word 2013 wondermuse Word 5 12-20-2016 10:48 AM
Insert Object into Word Document only appears as Icon, without selecting display as Icon Simy Word 1 04-30-2015 12:47 PM
sort & filter icon not available or icon not highlighted survivo01 Excel 1 08-08-2011 03:41 AM
Display as icon: default icon for pdf's. njegbers Word 1 04-08-2011 06:07 PM
Spelling and grammar checker (ABC Icon in toolbar) Sleeper Word 0 01-02-2011 01:25 PM


All times are GMT -7. The time now is 02:04 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft