Hi, I have a csv file full of contact details for many people, but there is no seperate field for the postcode (I need the postcode to search for that contact in another excel file).
So I have a string that contains all the address details i.e.
Mr and Mrs Ian Gordon #\n6 Devenish Crescent#\nEnniskillen#\nN. Ireland#\nBT74 4RB#\n
Bearing in mind that not all contacts have the same number of address fields (#/n used to denote a new line) some may only have name and postcode.
So I guess I need a script that will check for 2 capital letters followed by a 2 digit number, a space then a single digit number and 2 more capital letters.
Preferably in VBA FOR EXCEL
So I have a string that contains all the address details i.e.
Mr and Mrs Ian Gordon #\n6 Devenish Crescent#\nEnniskillen#\nN. Ireland#\nBT74 4RB#\n
Bearing in mind that not all contacts have the same number of address fields (#/n used to denote a new line) some may only have name and postcode.
So I guess I need a script that will check for 2 capital letters followed by a 2 digit number, a space then a single digit number and 2 more capital letters.
Preferably in VBA FOR EXCEL