Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel cell validation

Status
Not open for further replies.

Leslie67

Programmer
Jul 23, 2002
42
US
The question is this...

5 Cells have "input message" data validation on them.

I have one "yes" and one "no" checkbox for each of them.

When I click the "no" checkbox, it activates the next CELL down. I have proved to myself that this is, indeed the active cell.

How do I force the data validation, to display the input message, when the cell becomes active? Cause right now, it seems that the input message only kicks in when you *leave* the cell.

If I tab to the cell, hit enter, or click on the cell, the input message validation appears right away, but not if I say "Range("A27").activate"

Is this a problem because I'm not actually entering or changing the information in these cells at all and the Data validation input message is waiting for me to change something?
 
Hi Leslie,

I just tried out what you've explained, and it worked for me. I have one question though. Are you using Excel's built-in Data>Validation, or are you using a hard coded msgBox?



If you can't be "The Best", be the best at what you can!!!

Never say Never!!!
Nothing is impossible!!!
 
I'm using the built in Data->Validation cause I really didn't want the user to have to click "ok" every time.

It worked for you??

Hmmm... more investigation on my part...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top