+ Reply to Thread
Results 1 to 2 of 2

Is it possible to reach the webpage using 'MSXML2.XMLHTTP60', without getting a 404 status

Hybrid View

  1. #1
    Registered User
    Join Date
    03-26-2014
    Location
    Norway
    MS-Off Ver
    Microsoft 365 MSO (Version 2403 Build 16.0.17425.20124) 64-bit
    Posts
    33

    Is it possible to reach the webpage using 'MSXML2.XMLHTTP60', without getting a 404 status

    Private Sub sXMLHTTP60()
        Const strURL     As String = "https://www.oslobors.no/ob_eng/" _
                                & "markedsaktivitet/#/details/EQNR.OSE/overview"
        Dim objXMLHTTP60 As Object
            Set objXMLHTTP60 = CreateObject("MSXML2.XMLHTTP.6.0")
            With objXMLHTTP60
                .Open "GET", strURL, False
                .send
                Do Until .readyState = 4 And .Status = 200 And .statusText = "OK"
                    DoEvents
                    Debug.Print .readyState
                    Debug.Print .Status
                    Debug.Print .statusText
                Loop
            End With
    End Sub

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Is it possible to reach the webpage using 'MSXML2.XMLHTTP60', without getting a 404 st

    Hi and welcome
    although we value privacy as much as anyone else, it could be important that members have a rough idea of your location. You might in the future post questions which are bound to your regional settings.
    So, please update your profile to something more precise then "????" ( country will suffice, no need to be more precise).
    Thank you for helping us to help you

+ 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. transition from using IE to MSXML2.XMLHTTP"
    By Exequiel3k in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-29-2019, 12:27 PM
  2. [SOLVED] MSXML2.XMLHTTP60 - XML Request Parameters - DTD Is Prohibited Error
    By NeedForExcel in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-09-2018, 07:44 AM
  3. [SOLVED] Web Scrape XMLHTTP60 vs InternetExplorer,Application
    By greensky2 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-31-2017, 07:59 PM
  4. Replies: 3
    Last Post: 09-11-2014, 04:32 PM
  5. Importing XSD / XML Files in Excel using MSXML2 and DOM
    By uselessnut in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-15-2013, 06:05 AM
  6. Replies: 4
    Last Post: 04-08-2012, 09:43 PM
  7. MSXML2 - getElementsByTagName()
    By hoopz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-09-2006, 03:41 AM

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