none
HTTP Request to enter in username and password to bypass the login page i need to bypass RRS feed

  • Question

  • Sub http()
    Dim MyRequest As Object
    
        Set MyRequest = CreateObject("WinHttp.WinHttpRequest.5.1")
        MyRequest.Open "GET", _
        "http://www.google.com"
    
        ' Send Request.
        MyRequest.Send
    
        'And we get this response
        MsgBox MyRequest.ResponseText
    
    End Sub

    I Run the code with a website i need to get to, but it always go goes to the login page instead of the page specfied in the url, even when i log-in and try it it does the same, is there anyway for me to code into to pre enter username and password to bypass the log-in screen.

    Many thanks

    Thursday, October 31, 2013 8:31 AM

All replies

  • Hi,

    Thank you for posting in the MSDN Forum.

    Since the issue is more relate to the feature of VBA instead of MS Office development, I'd like to move it to VBA forum.

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.

    Thanks for your understanding.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, November 1, 2013 2:01 AM
    Moderator