Command Button Dependent on Cell/Range Value

B

BJ

Hello

I'm trying to make invisible a command button based on the result of a cell
- in this case it is also a range.

I've taken a few runs at it but I'm not having any success getting it to
work. No error messages, but nothing happens either.

Basically have CommandButton1 and CommandButton2. If the value of Range
"Answer" is 'Item A' then I'd like CommandButton1 to appear visible and
function while CommandButton2 is invisible and/or not functional. If the
value of Range "Answer" is 'Item B' then I'd like CommandButton2 to appear
visible and function while CommandButton1 is invisible and/or not functional.

Thanks.

BJ
 
J

JLGWhiz

It would help if you identified the source of your command buttons (i.e.
Forms toolbar or Control Toolbox) and if you would post the code you are
attempting that does not work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top