I am trying to find a way (macro) to ensure that the data in cells on a worksheet are correct.
The only data that will be entered are:
negative numbers eg. -1.40
Positive numbers eg. 1.40
Cells with the text n/a
Blank Cells.
We have had a few instances where people have accidently entered incorrect characters eg.
1..40
1.40.
n
All of these cause errors in formulas that are running on another worksheet. Is there a way that a have a macro check that only correct values are entered and gives the user a warning if they incorrectly type something?
Thanks
The only data that will be entered are:
negative numbers eg. -1.40
Positive numbers eg. 1.40
Cells with the text n/a
Blank Cells.
We have had a few instances where people have accidently entered incorrect characters eg.
1..40
1.40.
n
All of these cause errors in formulas that are running on another worksheet. Is there a way that a have a macro check that only correct values are entered and gives the user a warning if they incorrectly type something?
Thanks