ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Pop up warning message based on a certain value (https://www.excelbanter.com/excel-programming/362344-pop-up-warning-message-based-certain-value.html)

jeffbert

Pop up warning message based on a certain value
 
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



All times are GMT +1. The time now is 01:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com