+ Reply to Thread
Results 1 to 5 of 5

Webquery to find zip code from an address

  1. #1
    Registered User
    Join Date
    02-25-2010
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Webquery to find zip code from an address

    I'm trying to find a VBA-friendly website where I can run a webquery to return the zip code by entering an address (street address and city). Basically, the macro should take cells with the street address and city and use them to look up the zip code via a webquery.

    Any suggestions are hugely appreciated!

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Webquery to find zip code from an address

    Hello surgeondryhog,

    It would help to know the website you want to pull the data from.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    02-25-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Webquery to find zip code from an address

    http://zip4.usps.com/zip4/welcome.jsp

    Your Field names are below:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    02-25-2010
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Webquery to find zip code from an address

    Quote Originally Posted by BlindRI View Post
    http://zip4.usps.com/zip4/welcome.jsp

    Your Field names are below:

    Please Login or Register  to view this content.
    Thanks, BlindRI. I tried to webquery from this site before--my problem is that it doesn't seem to return the zip code (webquerying the resulting zip code returns the message "Temporarily Unavailable ... SORRY!! The current application is temporarily unavailable..."

    Leith Ross, I am actually asking which website would work.

  5. #5
    Registered User
    Join Date
    02-25-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Webquery to find zip code from an address

    http://www.usps.com/webtools/?from=z...4link=webtools

    At the page linked above, it clearly states you must be registered before you can begin using the supplied API's.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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