Visual Basic Help!

T

tucker

Does anyone no how to write a macro to reformat postcodes to be the
same arrangement. The final postcodes must be no longer than 8
characters. There must always be a space in between the outward and
inward code, for example
• B4_7ET
• OX8_5KQ
• OX28_5KQ

The problem is, the list of postcodes which have been collected have
mixed formats, e.g,


• B_4_7ET
• B4_ _7ET
 
P

Paul Herber

Does anyone no how to write a macro to reformat postcodes to be the
same arrangement. The final postcodes must be no longer than 8
characters. There must always be a space in between the outward and
inward code, for example
• B4_7ET
• OX8_5KQ
• OX28_5KQ

The problem is, the list of postcodes which have been collected have
mixed formats, e.g,


• B_4_7ET
• B4_ _7ET

Answered in the VBA group
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top