While testing I'm often switching between EnableEvents True/False so I've added a button to the DEVELOPER tab.
Group is "Enable Events"
Yellow Smile as icon
Label is "Click to Flip"
So it ends up reading as "Click to Flip Enable Events"
This calls myEnableEvents module in my Personal.xlsb:
I'd like to get rid of the debug message and replace it with a change to the icon.
For example:
True = Yellow Smile (existing icon)
False = Unpainted Smile (existing icon)
This may seem silly, but the code I've found for dealing with the ribbon is not looking like VBA code.
For example: Images on Custom Ribbon controls in Excel 2007-2013
Would someone please explain what that odd looking code is about (and what language) and/or tell me how to do this with VBA please?
Thanks
Group is "Enable Events"
Yellow Smile as icon
Label is "Click to Flip"
So it ends up reading as "Click to Flip Enable Events"
This calls myEnableEvents module in my Personal.xlsb:
Code:
Sub myEnableEvents()
Application.EnableEvents = Application.EnableEvents = False
Application.ScreenUpdating = Application.EnableEvents
Debug.Print Now() & " Enable Events = " & UCase(Application.EnableEvents)
End Sub
I'd like to get rid of the debug message and replace it with a change to the icon.
For example:
True = Yellow Smile (existing icon)
False = Unpainted Smile (existing icon)
This may seem silly, but the code I've found for dealing with the ribbon is not looking like VBA code.
For example: Images on Custom Ribbon controls in Excel 2007-2013
Would someone please explain what that odd looking code is about (and what language) and/or tell me how to do this with VBA please?
Thanks