+ Reply to Thread
Results 1 to 4 of 4

Editing Macros to Control Web Scraping

  1. #1
    Registered User
    Join Date
    05-09-2011
    Location
    Boslow, Maine
    MS-Off Ver
    Excel 2007
    Posts
    5

    Editing Macros to Control Web Scraping

    I have attached a file. I want to create(edit) a macros that allows me to to data>from web and use the site http://www.joelefkowitz.com/batter_card.php?pid= but then take the numbers in column B and add them at the end of that web site. For example, I would want it to go to http://www.joelefkowitz.com/batter_card.php?pid=453056 for player 1 and then do the same for the next 8 players. This is the code from a recorded macros if it helps. All I did was go to the site I want to for player 1 in webquery.


    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by teylyn; 05-12-2011 at 04:19 AM. Reason: added code tags

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Editing Macros to Control Web Scraping

    Please wrap your code in code tags like this:

    [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code]

    I'll do it for you this time, because you're new to the forum, but please remember it from now on.

  3. #3
    Registered User
    Join Date
    05-09-2011
    Location
    Boslow, Maine
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Editing Macros to Control Web Scraping

    I think I'm getting closer but a new issue has arised...
    I changed the webquery part of the code and I THINK it's supposed to work that way but it isn't retrieving all of the information. It's only getting parts of the table I originally selected.

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    05-09-2011
    Location
    Boslow, Maine
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Editing Macros to Control Web Scraping

    bump. Please help

+ 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