Hi All,
I'm looking for a function which will check if the cell value is a valid UK registration number plate format.
True if it is, False if it isn't.
I've tried myself and had a look around but am unable to find a solution to my problem.
If also possible, if false, to make to necessary amendments to make it a valid format...ie If some lower case values, make them upper case, if there is a space entered, remove it, if a O is entered instead of a 0, correct it and show the corrected value when the function is run. For all that it can't do that with, then leave as False.
I understand the second part may not be possible, even if someone can help with just identifying whether or not the value is a valid format, I would be very grateful. I have something similar which does this for UK postcodes, but am hitting a brick wall trying to do the same for UK registration number plates.
Any help much appreciated.
Craig</SPAN>
I'm looking for a function which will check if the cell value is a valid UK registration number plate format.
True if it is, False if it isn't.
I've tried myself and had a look around but am unable to find a solution to my problem.
If also possible, if false, to make to necessary amendments to make it a valid format...ie If some lower case values, make them upper case, if there is a space entered, remove it, if a O is entered instead of a 0, correct it and show the corrected value when the function is run. For all that it can't do that with, then leave as False.
I understand the second part may not be possible, even if someone can help with just identifying whether or not the value is a valid format, I would be very grateful. I have something similar which does this for UK postcodes, but am hitting a brick wall trying to do the same for UK registration number plates.
Any help much appreciated.
Craig</SPAN>