I am needing to validate the format of a cell immediately after the cell is filled in. I have all the necessary validation code in a macro. When the macro is associated to a form button it performs correctly. What I am doing is checking a cell to make sure it is numeric and not greater than 6 digits, if it is OK I then change the format to A000000. So if 2211 is entered it is changed to A002211, if 22 is entered it is changed to A000022.
I want to associate this macro to the cell so that when the user fills in the cell and moves off, the code is executed. Is this possible or do I have to use a button.
I want to associate this macro to the cell so that when the user fills in the cell and moves off, the code is executed. Is this possible or do I have to use a button.