+ Reply to Thread
Results 1 to 2 of 2

VBA to scrape data from website

  1. #1
    Registered User
    Join Date
    01-16-2012
    Location
    Dallas
    MS-Off Ver
    Excel 2007
    Posts
    1

    Question VBA to scrape data from website

    I am pretty new to VBA, but am trying to write a data scraper to pull information from a website and import it into an excel workbook. I had some help getting started but am coming across a few errors that I cannot figure out.

    1. run-time error 1004: application-defined or object-defined error

    If I comment out this error, I get to this:

    2: run-time error 1004: unable to open http://... the internet site reports that the item you requested could not be found.
    (But when I go to the exact same URL in explorer it opens fine.)

    Please Login or Register  to view this content.
    Thanks in advance to any helpers
    Last edited by jdub22cb; 01-16-2012 at 02:54 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    05-21-2009
    Location
    Great Britain
    MS-Off Ver
    Excel 2003
    Posts
    550

    Re: VBA to scrape data from website

    What is the URL?

    As an aside, it's no good quoting error messages unless you also tell us exactly which lines they are occurring.

+ 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