richh
Board Regular
- Joined
- Jun 24, 2007
- Messages
- 245
- Office Version
- 365
- 2016
Howdy folks!
I'm running Excel 2010
I have a worksheet ("Interface") on which are several controls. One unlocks the workbook and reveals several hidden sheets ("wbUnlock"). One locks the workbook and hides the sheets ("wbLock"). The other buttons allow users to view and retrieve data without being able to manipulate the source ("empLookup"; ""genReports"). I would like to a way to hide the buttons when wbLock is clicked and reveal them once wbUnlock is clicked.
I've tried numerous ways to get this to work, but I keep getting errors. The one I thought would work is...
Sheets("Interface").empLookup.Visible = True/False (depending on button clicked ) | Error "Object doesn't support this property or method"
Is there another way I can hide/reveal these buttons?
I'm running Excel 2010
I have a worksheet ("Interface") on which are several controls. One unlocks the workbook and reveals several hidden sheets ("wbUnlock"). One locks the workbook and hides the sheets ("wbLock"). The other buttons allow users to view and retrieve data without being able to manipulate the source ("empLookup"; ""genReports"). I would like to a way to hide the buttons when wbLock is clicked and reveal them once wbUnlock is clicked.
I've tried numerous ways to get this to work, but I keep getting errors. The one I thought would work is...
Sheets("Interface").empLookup.Visible = True/False (depending on button clicked ) | Error "Object doesn't support this property or method"
Is there another way I can hide/reveal these buttons?