Error Message when value appears in a range
HiI need to be able to validate the format of a UK National Insurance number then have an error 'Message Box' advise the user the format is wrong before clearing the incorrect value and setting the focus back to the cell that needs re-entered.I've found a formula that validates the format and gives TRUE & FALSE values in a helper cell (Column B), then I used an If Statement in another helper cell (Column C) to give Correct & Incorrect values if an entry has been made but the format is wrong.I've tried to get a message box to appear if 'Incorrect' appears in Column C but can only get it to work if I reference an individual cell rather than any cell in a range.I have created an example spreadsheet but i am unable to attach it for some reason, the manage attachment button doesn't do anything!In the example the National Insurance Number is eneter into A1, the format is validated in B1 and C1 checks that both A1 has an entry and B1 is True to provide correct / incorrect valuesCan anyone help please?As always help from you guys is really appreciatedThanksMykal