M
Minitman
Greetings,
I have a Form Toolbox ComboBox on my sheet. I works fine. I also
have a CommandButton from the Control ToolBox on this same sheet, it
also works fine.
It is when I try to get the button to become not enabled when I choose
a different item from the ComboBox, that I ran into a wall.
The ComboBox's code is in Module1 and I can't get the ComboBox's
change event to recognize that there is a Control Toolbox
CommandButton that needs to be disabled. The CommandButton code is in
the code section of the sheet. I tried to move the CommandButton's
code to Module1, but it is not recognized there as being from a sheet.
It keeps asking for the "variable" to be defined. The "variable it
keeps asking to be defined is not a variable, it is the
CommandButton's name.
How do I get them to see each other?
Any help will be appreciated.
-Minitman
I have a Form Toolbox ComboBox on my sheet. I works fine. I also
have a CommandButton from the Control ToolBox on this same sheet, it
also works fine.
It is when I try to get the button to become not enabled when I choose
a different item from the ComboBox, that I ran into a wall.
The ComboBox's code is in Module1 and I can't get the ComboBox's
change event to recognize that there is a Control Toolbox
CommandButton that needs to be disabled. The CommandButton code is in
the code section of the sheet. I tried to move the CommandButton's
code to Module1, but it is not recognized there as being from a sheet.
It keeps asking for the "variable" to be defined. The "variable it
keeps asking to be defined is not a variable, it is the
CommandButton's name.
How do I get them to see each other?
Any help will be appreciated.
-Minitman