Hi
I use this formula in B27
= ((B20/18.4)*B22)-B22
Is there code which could perform the following?
Code to give error message for 1 & 2
1. If the value entered into B20 is 18.4 or less - Message "Value must be between 18.5 & 80"
2. If the value entered into B22 is less than 500 or greater than 1000 - Message "Value must be between 500 & 1000"
3. If value entered in either B20 & B22 is incorrect then make cell B27 invisible until value is correct in both B20 & B22
4. Code to lock cell B27 so formaula cannot be erased
Thank you
I use this formula in B27
= ((B20/18.4)*B22)-B22
Is there code which could perform the following?
Code to give error message for 1 & 2
1. If the value entered into B20 is 18.4 or less - Message "Value must be between 18.5 & 80"
2. If the value entered into B22 is less than 500 or greater than 1000 - Message "Value must be between 500 & 1000"
3. If value entered in either B20 & B22 is incorrect then make cell B27 invisible until value is correct in both B20 & B22
4. Code to lock cell B27 so formaula cannot be erased
Thank you