I'm trying to disable a button in Excel 2011 using VBA. It doesn't seem to work. Apparently VBA for Excel 2010 (Windows) also had this bug.
One solution I've found was to remove the macro from the button and grey out the text on the button to make it look disabled, then when I need it enabled again, re-hook-up the macro and change the text colour back. Again, this doesn't work (the macro switching works but not the greying out).
Here's how I've done the disabling that originally didn't work:
Here's how I've tried to grey out the text on the button which also didn't work:Please Login or Register to view this content.
Please Login or Register to view this content.
Any ideas how to make this work in Excel 2011 VBA? I've had to resort to .Visible = False and I hate it. I want to see the button, just disable it.
Thanks so much!
Bookmarks