+ Reply to Thread
Results 1 to 3 of 3

VBA to Extract Data from Website

  1. #1
    Registered User
    Join Date
    08-06-2016
    Location
    Memphis, TN
    MS-Off Ver
    2010
    Posts
    10

    VBA to Extract Data from Website

    Hello,

    I would like to create a VBA/macro that automatically updates my spreadsheet with the proposed lineups when the spreadsheet is refreshed. I've tried using the power query editor without any success retrieving the data from the website. The power query editor gave me options for Document (Kind = element, name = HTML , Children = table, and text = null) and table 0, which shows a table for social media. Can someone help me with a VBA to grab each applicable table?

    Thank you

  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: VBA to Extract Data from Website

    Hello dewonw,

    The lack of detailed information makes it impossible to accurately address your concerns. Can you post a copy of your workbook for review?
    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
    08-06-2016
    Location
    Memphis, TN
    MS-Off Ver
    2010
    Posts
    10

    Re: VBA to Extract Data from Website

    I've attached the example. I'm trying to extract the data from https://www.fantasylabs.com/mlb/lineups/ via excel in order to compile the data in column B in the attachment. As a workaround, I'm using a data parser which is adding many steps to the process.
    Excel version 365
    Attached Files Attached Files
    Last edited by dewonw; 07-08-2018 at 07:11 PM.

+ 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. How to extract data from website
    By theWoodland in forum Excel General
    Replies: 3
    Last Post: 11-12-2017, 08:15 PM
  2. VBA Extract Data from Website Text
    By theskyscraper1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-12-2017, 11:45 PM
  3. VBA to log into website to extract data
    By andrewg10 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-18-2014, 07:57 PM
  4. Extract filtered data from a website
    By jakg88 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-30-2013, 01:20 AM
  5. Extract data from website to an excel
    By vgothe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-27-2012, 10:51 AM
  6. extract data from website to excel
    By asdzxc in forum Excel General
    Replies: 1
    Last Post: 05-15-2012, 03:55 AM
  7. Excel 2007 : Extract Data from Website
    By Testify in forum Excel General
    Replies: 1
    Last Post: 05-24-2011, 08:00 PM

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