I have been searching around for a way to do this but I am finding it hard :(
I am very very very new to VBA (In fact, I have not used it) but I am determined !
What I want to do is validate a postcode so that it formats it and checks it. I have tried Input mask and validation, but this are not perfect. So I have turned to VBA.
I have found examples of code, and put them into VBA, but I can't get it to do anything :(
It needs to work with these postcodes ...
A9 9AA
A9A 9AA
A99 9AA
AA9 9AA
AA9A 9AA
AA99 9AA
If anyone could help it would be great. But what would be best if someone could give me a database with the validator in, so I could see it in action and learn. But anything would be good. Just how to make it work would be good :) . What I have done is copy and pasted the code Here into a module and hoped for the best, but nothing happened ?
So any help would be good.
Thank you