+ Reply to Thread
Results 1 to 3 of 3

Macro to parse address lines with @ symbol between segments

  1. #1
    Registered User
    Join Date
    11-25-2003
    Location
    Decatur, Alabama
    Posts
    94

    Macro to parse address lines with @ symbol between segments

    Hello,

    I am trying to take addresses that have the @ sign in them and parse them so that each segment between this sign is placed on the subsequent rows. Some addresses have 3 segments, some 4, some 5

    So an address in cell A1 that looks like this: Jim Sanders@121 Lorry Lane@Decatur AL@22222 would have in A2 Jim Sanders, in A3 121 Lorry Lane,in Cell A4 Decatur AL, and in cell A5 22222

    If it happens that there are fewer segments or more, the idea is the same. Just spread them out until they are finished.

    Any help you can offer would be greatly appreciated!
    Mike
    Learn to Serve Others. Kindness is far better than the alternative.

  2. #2
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: Macro to parse address lines with @ symbol between segments

    Use Data->TextToColumns.
    If you are pleased with a member's answer then use the Star icon to rate it.

  3. #3
    Registered User
    Join Date
    11-25-2003
    Location
    Decatur, Alabama
    Posts
    94

    Re: Macro to parse address lines with @ symbol between segments

    Thank you, Buran .. .but I am trying to do it with a macro because what brings the data to this point (in a large spreadsheet with other macro routines having been run) is done with macros as well. I am looking for a completely automated way (no user knowledge of Excel needed) to solve this issue.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Parse Address into multiple columns
    By hackeroperjp in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-02-2015, 05:23 PM
  2. Replies: 1
    Last Post: 10-14-2014, 07:17 AM
  3. Parse, Clean and Format Address Data from Text String
    By jerrydiaz in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-04-2013, 11:52 AM
  4. I need Help to parse address city state zip and country if applicable for all fields
    By danpotash in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-01-2013, 03:16 PM
  5. Parse Email address from middle of a string
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-23-2011, 09:17 PM
  6. Find and parse email address from text string
    By jchamber00 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-28-2009, 11:33 AM
  7. Parse a long string into lines?
    By quartz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2005, 06:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1