Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, all:
I have a worksheet which requires cell A1 value must be = 0. My macro will pop up an ERROR message if this value is 0. The user must fix this value to 0 before other coding was compiled. How to fix this? here is my code: Sub Test() if worksheets("Sheet1").Range("A1").value 0 Then msgbox"This value must be 0. Please fix before proceeding",vbcritical, "Must fix the value before proceeding" End if Other coding .......... End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SHORT KEY | Excel Discussion (Misc queries) | |||
Intercept/replace standard 'cell protected' message with my own message? | Excel Programming | |||
Displaying a message in a message box without requiring user to click anything to proceed | Excel Programming | |||
short cut | Excel Programming | |||
short message after button click | Excel Programming |