+ Reply to Thread
Results 1 to 4 of 4

Replacing Abbreviations in Street Addresses

  1. #1
    Registered User
    Join Date
    03-12-2009
    Location
    Grand Rapids, MI
    MS-Off Ver
    Excel 2010
    Posts
    3

    Replacing Abbreviations in Street Addresses

    I came accross this thread today:

    http://www.excelforum.com/excel-work...addresses.html

    The Macro provided by JBeaucaire on 1-26-2010 works great for what I'm trying to accomplish.....but I'm running into two issues and I'm wondering if there is an easy fix for them:

    1.) I'm unable to replace punctuation/symbols (e.g. # , .) if they have a character immediately preceding or following....I have them listed in my column A but the macro doesn't recognize them and perform the replace unless the punctuation has a leading and following space

    2.) If the list of addresses selected exceeds 65,000 the macro returns "0" for all addresses in the list......is there a way to expand the number of addresses selected for the macro run?

    Any help would be apreciated. Thank you.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Replacing Abbreviations in Street Addresses - Follow-Up

    1) The macro is designed to replace words, not characters within words. After the macro expands the words the way it was originally designed, run a REPLACE function on the selected cells to fix individual characters.

    2) I just ran the macro on 65536 selected cells and it worked fine. Just one column at a time.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    03-12-2009
    Location
    Grand Rapids, MI
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Replacing Abbreviations in Street Addresses - Follow-Up

    Thanks for the reply. Yes, on a second look it runs fine for me up to 65,536 records (not 65,000 records as I had previously stated)....but does not run correctly on colums with > 65,536 addresses.......any specific reason that it wouldn't handle more than 65,536 records?

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Replacing Abbreviations in Street Addresses - Follow-Up

    Not off hand, but then again, you can simply select smaller sets of data and run the macro, if necessary, yes?

+ 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