+ Reply to Thread
Results 1 to 3 of 3

Extract complete source code from IE

  1. #1
    Registered User
    Join Date
    04-06-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    3

    Extract complete source code from IE

    Hi,

    Please can one of you help me if there is away to extract complete info into a text file and then do a search row by row?

    i was using

    strSource = IE.document.body.innerText

    Debug.Print strSource

    but I am not able to get all the info from the website.

    The info is available as per below:

    F12 -> Under "SCRIPT" tab

    Thanks
    Edwar
    Last edited by Edwar; 04-08-2013 at 05:19 PM.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Extract complete source code from IE

    What exactly are you trying to do?

    You don't need to put text into a file to search it, you do it in memory - to get the source of a web page, the easiest way is usually:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-06-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Extract complete source code from IE

    Thank you so much Kyle for your response.

    I am trying to find all the records with a string. Is it possible to do so? Please can you help me.

    When i try below code, I could only see part of the script not the complete info of our Intranet URL as I get in F12(Developer Tools) ->Script

    Set oHttp = CreateObject("MSXML2.XMLHTTP")

    With oHttp
    .Open "GET", WebPage, False
    .Send
    txt = .responseText
    Debug.Print txt

    End With
    Set oHttp = Nothing

    Thanks
    Edward
    Last edited by Edwar; 04-11-2013 at 02:02 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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