Results 1 to 37 of 37

HTTP request in VBA

Threaded View

  1. #1
    Registered User
    Join Date
    06-07-2016
    Location
    Hong Kong
    MS-Off Ver
    2010
    Posts
    25

    HTTP request in VBA

    Hi, I have recently read the post here about "how to click javascript alert button when using IE"

    Link: http://www.excelforum.com/excel-prog...-using-ie.html

    Thanks to the contribution of Kyle123, a solution using http request can successfully capture the data


    I understand his script is using get and post to retrieve the response and copy it into the responsetext and look up the corresponding token and table.

    I have tried his method, but however I found out that the data retrieved are not complete

    In the

    For Each rw In doc.getelementsbyTagname("table")

    Debug.Print rw.innertext

    Next rw

    After print out the table in intermediate window, i find out that the table is not complete, only those shareholding with 0% are printed out.

    I have tried to print the responsetext before filtering tagname "table" and it also shows that the table is not complete

    May I ask whats the problem?

    Thank you
    Last edited by leslietsz; 09-09-2016 at 04:06 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Wait for winhttp request to be done (much like XML http request)
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 07-23-2015, 09:26 AM
  2. Reduce code size to get Http Request from server
    By kaseyleigh in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-12-2015, 07:37 AM
  3. SENDING HTTP REQUEST and GETTING RESPONSE
    By downtown1933 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2013, 09:43 PM
  4. VBA HTTP GET request
    By WAW in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-21-2012, 05:08 PM
  5. Http Request Repsonse Query
    By Killavirus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-25-2010, 07:38 PM
  6. VB error for HTTP status request - Operation time out
    By Monto Roy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-19-2009, 11:30 AM
  7. Sending HTTP request with parameter.
    By gajendra.gupta in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-18-2007, 04:45 AM

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