Pop up warning message based on a certain value

J

jeffbert

I have data validation in cell A8 so that the user can only enter a string of
numbers six or seven digits long. Here is what I need to do:

If the user enters a string not equal to 6 or 7 digits, display the standard
"Stop" dialog box with a custom message so that they can fix it.

If the user enters a string equal to 7 digits, display the standard warning
message dialog box with a custom message and the standard options of Yes, No,
or Cancel.

If the user enters a string equal to 6 digits, do nothing.

Any and all help is greatly appreciated.

Thanks

Jeff
 

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