Hello Friends
I am looking for VBA code for validating a cell value by checking if it matches with entries in a column.
This code will be a part of my larger code in which I need to trap a possible error of user entering incorrect value in a cell. The code requires a user to type valid value in a cell and then press a button. But there is always a chance of user entering incorrect value. I was wondering if there was a way of checking if the cell value matches with at least one entry in the data column (which is in the same spreadsheet).
Thanks
Rajesh
I am looking for VBA code for validating a cell value by checking if it matches with entries in a column.
This code will be a part of my larger code in which I need to trap a possible error of user entering incorrect value in a cell. The code requires a user to type valid value in a cell and then press a button. But there is always a chance of user entering incorrect value. I was wondering if there was a way of checking if the cell value matches with at least one entry in the data column (which is in the same spreadsheet).
Thanks
Rajesh