LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 293
Default Make CommandButtons Not Visable With A Macro

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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I make the autosum refer to visable rows / filter? Maria[_2_] Excel Worksheet Functions 6 February 12th 08 12:18 AM
always visable header row Angee Excel Worksheet Functions 3 January 2nd 08 08:16 PM
How to keep 1st column visable when scrolling TomC Excel Discussion (Misc queries) 1 April 26th 07 03:46 PM
tracer arrows not visable Tguy18 Excel Worksheet Functions 0 September 25th 06 03:59 PM
Visable Cells jtoy Excel Discussion (Misc queries) 1 July 21st 05 02:32 AM


All times are GMT +1. The time now is 03:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"