Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 205
Default Postcode splitting problem

Hi Mary,

I'm afraid I haven't got a direct answer for you but did come across the
link below in an Access newsgroup which I hope proves useful.

All the best

John
http://groups.google.co.uk/groups?hl...ing.net&rnum=3

"Mary" wrote in message
...
Another complicated one i think... sorry!

I have a column(G) on my activesheet containing a full
address and postcode. This is what I need to extract. I
would like to add it to a new column in the same row of
the original address Column(BN)

1) some rows do not have a postcode in the address
anywhere.
2) some of the postcodes are not the full postcodes i.e
LS3 or LS23 instead of LS23 4ZZ etc. They are in mix of
lower and UPPER case.
3) I need to extract all of the postcode not just the
first 3 letters

I think i need to go along the lines of telling the vb to
loop through a specified column G in the activesheet and
write the postcodes out to specified column in the same
sheet AS. Because of the format of the postcode i will
have to search for two letters then a number as some are
only LS3. I cant think of how I would collect the rest of
the postcode though.

Any help much appreciated.

Mary




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postcode distances keithobro Excel Worksheet Functions 4 January 28th 08 02:43 PM
Splitting Cell problem wnfisba Excel Discussion (Misc queries) 1 August 9th 06 05:19 PM
M25 postcode VBA Noob Excel Worksheet Functions 6 August 6th 06 12:12 PM
postcode flow23 Excel Discussion (Misc queries) 2 January 18th 06 04:38 PM
UK Postcode formula KeLee Excel Worksheet Functions 2 November 1st 05 01:16 PM


All times are GMT +1. The time now is 01:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"