Hi,
I currrently have a VBA script for separating UK postcodes based on The postcodes first section and placing them in a new sheet. What I am now trying to do is change this slightly to allow me to split a large sheet based on just the letters before the first number in the postcode.
Below is the format for UK postcodes if you are unfamiliar with it.
A9 9AA
A99 9AA
AA9 9AA
AA99 9AA
This is the script I have currently...
I have made bold the line which I think I need to change. I believe it is currently splitting the postcode by detecting the space in the cell. Could be wrong though.![]()
Please Login or Register to view this content.
Basically right now it sorts postcode like this: AB1 AB2 AB3 CA1 CA2 CA3
I want it to sort like: AB CA
If anyone can help me with this that would be great!
Bookmarks