+ Reply to Thread
Results 1 to 6 of 6

using winhttprequest, get table data from webpage and perform calculation in excel sheet

  1. #1
    Registered User
    Join Date
    06-17-2021
    Location
    India
    MS-Off Ver
    2007
    Posts
    3

    using winhttprequest, get table data from webpage and perform calculation in excel sheet

    hi! i am a new member out here. my friend suggested i can seek some help on my excel vba question

    i have an excel file with 50 addresses in column A. I want to fetch their quantity from this webpage bscscan dot com /token/0x4338665cbb7b2485a8855a139b75d5e34ab0db94#balances and put it in column B. Thereafter, revsit the page at an interval of 1 minute and record the % change in the quantity. If the initial fetched quantity of a particular address is 100 and after 1 minute if it becomes 110 then corresponding cell in column C should hold 10%. Continue this loop for 10 minutes and record change % at an interval of every 1 minute and do it till 10 minutes and then end the sub.

    sorry for the broken url as i was not allowed to enter url

    I started with this piece of code but the response I get is an error page and another difficulty is that I dont know how to go to second page if any address is not found on page 1

    Please Login or Register  to view this content.
    I request someone to help me with this code. I am attaching the excel file. Thank you.
    Attached Files Attached Files
    Last edited by AliGW; 06-20-2021 at 04:04 AM.

  2. #2
    Registered User
    Join Date
    06-17-2021
    Location
    India
    MS-Off Ver
    2007
    Posts
    3

    Re: using winhttprequest, get table data from webpage and perform calculation in excel she

    Hi! I am eagerly awaiting assistance on my question. Thanks

  3. #3
    Registered User
    Join Date
    06-17-2021
    Location
    India
    MS-Off Ver
    2007
    Posts
    3

    Re: using winhttprequest, get table data from webpage and perform calculation in excel she

    Hello! I just figured out that there is a tab called "holders" within the webpage and it opens directly if #balances in included in the url. Is this the reason why I am getting an error page in the responsetext? I humby request for help in editing and adding few lines in my code to achieve the desired result. I am still waiitng eagerly. Thanks

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,762

    Re: using winhttprequest, get table data from webpage and perform calculation in excel she

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. As you are new here, I have done it for you today.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Contributor
    Join Date
    11-29-2014
    Location
    India
    MS-Off Ver
    MS Excel 2007
    Posts
    240

    Re: using winhttprequest, get table data from webpage and perform calculation in excel she

    Sorry for improper formatting. I will read the forum rules and thank you for doing it for me. Looking forward for getting some assistance.

  6. #6
    Forum Contributor
    Join Date
    11-29-2014
    Location
    India
    MS-Off Ver
    MS Excel 2007
    Posts
    240

    Re: using winhttprequest, get table data from webpage and perform calculation in excel she

    My friend whom I suggested about excelforum, she replied from my laptop when I was logged in. I just realised it... the above message is from my friend kawal

+ 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: 1
    Last Post: 04-19-2019, 07:03 PM
  2. [SOLVED] Perform a calculation based off of a category type on another sheet
    By ShadowSEPP in forum Excel General
    Replies: 12
    Last Post: 06-13-2018, 04:35 PM
  3. Which excel function can help me perform this calculation?
    By ccastell88 in forum Excel General
    Replies: 3
    Last Post: 03-01-2016, 01:30 AM
  4. Macro to open webpage and perform search
    By glide2131 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-13-2014, 12:08 PM
  5. fetching table data from a webpage in excel using VBA
    By ad9924 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-26-2014, 02:24 AM
  6. How to Fetch a table values in a webpage to Excel sheet using VBA Macro??? Help Me
    By ParthibanPalaniswamy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-20-2013, 05:08 AM
  7. Replies: 1
    Last Post: 11-25-2012, 05:59 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