+ Reply to Thread
Results 1 to 2 of 2

Unsure of VBA capabilities... "webscraping?"

  1. #1
    Registered User
    Join Date
    12-30-2013
    Location
    Elgin
    MS-Off Ver
    Excel 2013
    Posts
    52

    Unsure of VBA capabilities... "webscraping?"

    Hey everyone,

    I'm just looking into webscraping. One thing I'm noticing is most guides I see is

    Please Login or Register  to view this content.
    I don't really know VBA, but I've taken 1 semester of C++! When things are in " ", anything inside those basically just become characters.

    Can I make where I navigate to become variable?

    Lets say Column G contains all different kinds of keywords. And the website I'm navigating to is structured so that the keyword can be replaced and bring you to the right web page.

    www.somewebsite.com/blablabla/keyword

    I want my code to scan through each keyword in column G and go to the corresponding website. Then it will scan through the HTML for what I want to look up, and paste that back in my excel file.

    Possible?

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,885

    Re: Unsure of VBA capabilities... "webscraping?"

    Yes.

    You can use something like below using InternetExplorer.Application.

    Please Login or Register  to view this content.
    However, it's far more efficient to send XML request via POST or GET method in most cases.

+ 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. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  2. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  3. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  4. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  5. Replies: 4
    Last Post: 09-17-2008, 08:00 PM
  6. Replies: 5
    Last Post: 06-26-2006, 09:23 PM
  7. Replies: 7
    Last Post: 05-13-2006, 05:02 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