+ Reply to Thread
Results 1 to 2 of 2

How to scrape share data from web?

  1. #1
    Registered User
    Join Date
    03-10-2019
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    2

    How to scrape share data from web?

    Dear all,

    I have created a code to scrape the price shares. It works fine for the first share. However, there is error for the line "Temp_Hold3 = Doc.getElementsByClassName("qwidget-dollar")(0).innerText" when i try to scrape the price of the second share. I am very puzzled as I copied and paste the same code to get the price of the second share, why it doesn't work the second time?

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: How to scrape share data from web?

    This is impossible to answer. Share your code, and your data source.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

+ 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. Macro to scrape data from IE
    By cycker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-21-2019, 10:46 PM
  2. Issue trying to scrape data
    By chrisellis250 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-20-2017, 11:10 AM
  3. Web Scrape / Data obtain
    By cmb80 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-06-2017, 02:28 AM
  4. Scrape specific data from different/several url
    By dylanrose in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-09-2016, 01:12 PM
  5. Data Scrape from webpage
    By arnoldchadd in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-16-2014, 07:31 AM
  6. [SOLVED] Web data scrape problem
    By Sean Thomas in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-06-2013, 07:35 AM
  7. VBA to scrape data from website
    By jdub22cb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-16-2012, 04:00 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