by Nicholas Andrews (1 Submission)
Category: String Manipulation
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(4 Votes)

If you are using a text box to input a UK postcode, the text box can be attached to this class, which will then ensure the text entered is UCase & conforms to a valid UK Postal Code format.
I have add a new function to the class which enables Multimap Lookup. (Thanks to Jon Webb for that code.)
Cheers also to Simon Woollard for pointing out the changes that were needed.
Inputs
Text Box Object
API DeclarationsShellExecute
Download UK Postcode / Postal Code Format Validation ClassUPDATED (6 KB)