M
Minitman
Greetings,
I have a Command Button on a worksheet than under some conditions
needs to be hidden. I am trying to hide it from a UserForm. I have
tried:
CommandButton1.Visible = False
In the code to start the next procedure, I get this message in a
"Microsoft Visual Basic" message box:
Compile Error:
Variable not defined
Any suggestions?
TIA
-Minitman
I have a Command Button on a worksheet than under some conditions
needs to be hidden. I am trying to hide it from a UserForm. I have
tried:
CommandButton1.Visible = False
In the code to start the next procedure, I get this message in a
"Microsoft Visual Basic" message box:
Compile Error:
Variable not defined
Any suggestions?
TIA
-Minitman