+ Reply to Thread
Results 1 to 5 of 5

[SOLVED] Find/Replace or VBA

  1. #1
    reno
    Guest

    [SOLVED] Find/Replace or VBA

    I have downloaded 600 name address list from web. i'm tryin to parse the
    address. an address example is show here:
    2449 63rd St Vinton
    503 W 6th St Vinton
    5378 - 29th Avenue Vinton
    525 C Ave. W Norway
    2414 76 St Watkins
    There seem to be 5 blank spaces between the last of the physical addr and
    the start of the city. Find/Replace does not seem to work, the text/col
    doesn't recognize the 5 spaces.

    Any ideas?
    Thx

  2. #2
    Dave Peterson
    Guest

    Re: Find/Replace or VBA

    Since you got them from the Web, maybe they're not spaces--they could be those
    troublesome HTML non-breaking spaces (x160).

    Chip Pearson has a very nice addin that will help determine what that
    character(s) is:
    http://www.cpearson.com/excel/CellView.htm

    If those 5 "spaces" are the only char(160)'s in the cell, you may be able to
    just:

    Select the range
    data|text to columns
    delimited by other
    hit and hold the alt key while typing 0160 using the numeric keypad
    and check that box to "treat consecutive delimiters as one"

    And finish up that dialog.



    reno wrote:
    >
    > I have downloaded 600 name address list from web. i'm tryin to parse the
    > address. an address example is show here:
    > 2449 63rd St Vinton
    > 503 W 6th St Vinton
    > 5378 - 29th Avenue Vinton
    > 525 C Ave. W Norway
    > 2414 76 St Watkins
    > There seem to be 5 blank spaces between the last of the physical addr and
    > the start of the city. Find/Replace does not seem to work, the text/col
    > doesn't recognize the 5 spaces.
    >
    > Any ideas?
    > Thx


    --

    Dave Peterson

  3. #3
    reno
    Guest

    RE: Find/Replace or VBA

    you're right on the chr.
    it shows
    Dec 160 160 032 160
    between the street addr and start of city.
    suggestions?
    thx


    "reno" wrote:

    > I have downloaded 600 name address list from web. i'm tryin to parse the
    > address. an address example is show here:
    > 2449 63rd St Vinton
    > 503 W 6th St Vinton
    > 5378 - 29th Avenue Vinton
    > 525 C Ave. W Norway
    > 2414 76 St Watkins
    > There seem to be 5 blank spaces between the last of the physical addr and
    > the start of the city. Find/Replace does not seem to work, the text/col
    > doesn't recognize the 5 spaces.
    >
    > Any ideas?
    > Thx


  4. #4
    Dave Peterson
    Guest

    Re: Find/Replace or VBA

    Select the range
    Edit|replace
    what: spacebar, then alt-0160
    with: (leave blank)
    replace all

    Then use data|text to columns using alt-0160 as the delimiter.

    reno wrote:
    >
    > you're right on the chr.
    > it shows
    > Dec 160 160 032 160
    > between the street addr and start of city.
    > suggestions?
    > thx
    >
    > "reno" wrote:
    >
    > > I have downloaded 600 name address list from web. i'm tryin to parse the
    > > address. an address example is show here:
    > > 2449 63rd St Vinton
    > > 503 W 6th St Vinton
    > > 5378 - 29th Avenue Vinton
    > > 525 C Ave. W Norway
    > > 2414 76 St Watkins
    > > There seem to be 5 blank spaces between the last of the physical addr and
    > > the start of the city. Find/Replace does not seem to work, the text/col
    > > doesn't recognize the 5 spaces.
    > >
    > > Any ideas?
    > > Thx


    --

    Dave Peterson

  5. #5
    reno
    Guest

    RE: Find/Replace or VBA


    Dave you're the Man, that worked!

    Thanks!!
    "reno" wrote:

    > you're right on the chr.
    > it shows
    > Dec 160 160 032 160
    > between the street addr and start of city.
    > suggestions?
    > thx
    >
    >
    > "reno" wrote:
    >
    > > I have downloaded 600 name address list from web. i'm tryin to parse the
    > > address. an address example is show here:
    > > 2449 63rd St Vinton
    > > 503 W 6th St Vinton
    > > 5378 - 29th Avenue Vinton
    > > 525 C Ave. W Norway
    > > 2414 76 St Watkins
    > > There seem to be 5 blank spaces between the last of the physical addr and
    > > the start of the city. Find/Replace does not seem to work, the text/col
    > > doesn't recognize the 5 spaces.
    > >
    > > Any ideas?
    > > Thx


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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