+ Reply to Thread
Results 1 to 13 of 13

Extracting Tax Rates from a Website

  1. #1
    Registered User
    Join Date
    11-25-2013
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Extracting Tax Rates from a Website

    Hello!

    I am new to the forum as well as VBA. An employee that would create Excel macros for our company recently left, and I am trying to learn and develop VBA skills in his absence.

    I am trying to create an Excel macro that can extract tax rates from the following website: "http://www.zip2tax.com/"
    There is a search box in the middle, right side of the page to add a zip code.

    I want the user to be able to enter any number of zip codes in column A of a spreadsheet and have the tax rate for that location to appear in column B.

    However, I need to have the tax rate broken out by state and county. Once you Lookup the zip code, a box displaying the tax rate appears with an option to show the county and state break.
    I would like for the state to be extracted into column B and the county tax rate to be extracted into column C.

    Please let me know if anyone can help me with this task or provide some guidance.

    Thank you!!

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Extracting Tax Rates from a Website

    Hi Jlchumley, could you e.g. provide an workbook sample with zip codes or dummy data that you want to get tax rates from?

  3. #3
    Registered User
    Join Date
    11-25-2013
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Extracting Tax Rates from a Website

    The paperclick button is no longer visible. How can I attach a workbook without creating another post?

  4. #4
    Registered User
    Join Date
    11-25-2013
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Extracting Tax Rates from a Website

    Zip Code State Rate County Rate
    30002
    30004
    30005
    30008
    30115
    30055

  5. #5
    Registered User
    Join Date
    11-25-2013
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Extracting Tax Rates from a Website

    Is this okay?

  6. #6
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Extracting Tax Rates from a Website

    Thanks I'll have a look at it.

  7. #7
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Extracting Tax Rates from a Website

    Took longer than I thought to do this Try this for the state tax:

    Please Login or Register  to view this content.

  8. #8
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Extracting Tax Rates from a Website

    And this should work for the county tax:

    Please Login or Register  to view this content.

  9. #9
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Extracting Tax Rates from a Website

    Before I actually realised that you wanted it broken down and it got a bit trickier, I wrote the following:

    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    11-25-2013
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Extracting Tax Rates from a Website

    Thank you so much for this!!!!! I will study the code you wrote and reach out if I need something explained in detail. Again, thank you so much!!

  11. #11
    Registered User
    Join Date
    11-25-2013
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Extracting Tax Rates from a Website

    I just tried using the function in Excel (=GetCountyTax(30115)), and I got the following error message: "Error 400- Bad Request- Open Zip2Tax home page and try the request again (z2t:0.1)"

    Please let me know how to properly run the code in Excel.

    Thank you!

  12. #12
    Registered User
    Join Date
    11-25-2013
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Extracting Tax Rates from a Website

    Bump no response

  13. #13
    Registered User
    Join Date
    11-25-2013
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Extracting Tax Rates from a Website

    Bump no response

+ 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. Extracting prices from an ecommerce website
    By Everlingpierre in forum Excel General
    Replies: 1
    Last Post: 06-11-2013, 03:54 AM
  2. Extracting retail data from the US Census website
    By ecoanalyst in forum Excel General
    Replies: 3
    Last Post: 03-12-2013, 06:09 PM
  3. Extracting Trade-In Values from Website
    By Wonton in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-23-2011, 03:17 PM
  4. Extracting Data from a website
    By KLahvic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-19-2009, 09:30 AM
  5. Replies: 6
    Last Post: 03-14-2008, 01:58 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