ManUBlueJay
Active Member
- Joined
- Aug 30, 2012
- Messages
- 326
- Office Version
- 365
- Platform
- Windows
I am Using a Forms Control button to run a macro.
I would like to have the Button disabled till certain requirements are met.
How can I disable the button. It is called Button 6
I have tried the following code but the button still works as normal even though the sheet is protected
I would like to have the Button disabled till certain requirements are met.
How can I disable the button. It is called Button 6
I have tried the following code but the button still works as normal even though the sheet is protected
Code:
Sheets("Entry Form").Unprotect
ActiveSheet.Buttons("Button 6").Enabled = False
Sheets("Entry Form").Protect