+ Reply to Thread
Results 1 to 4 of 4

username / password problem when getting data from website

  1. #1
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Question username / password problem when getting data from website

    Hi guys and gals,

    I am using the code below to pull data from a website :
    Please Login or Register  to view this content.
    However, this website requires a username and password to log in before showing the requested information. Is there any way I can send the username / password along with the request, so it logs in the website and gives me the correct responsetext?
    Thanks so much for any help!
    Please click the * below if this helps

  2. #2
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: username / password problem when getting data from website

    By the way, putting the username & password in the send / open doesn't work, so the following doesn't solve my problem :

    Please Login or Register  to view this content.

  3. #3
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: username / password problem when getting data from website

    anyone...¿ noone....?

  4. #4
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: username / password problem when getting data from website

    I finally managed to solve it and it turned out to be a pretty easy fix (I'm a bit surprised noone here could help me in the right direction...)

    I needed to use a POST rather than a GET....
    Here's the working code in case someone ever needs it.

    Please Login or Register  to view this content.

+ 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. How to download data from password protected website?
    By Excellearner2012 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-21-2013, 08:40 PM
  2. insert log in / username website from excel vba
    By irwan_da in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-13-2013, 02:50 AM
  3. [SOLVED] Username and Password Form - Show Username in Sheet
    By ryan180 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2013, 07:06 PM
  4. access a website with username/password
    By redrav26 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-16-2009, 05:35 PM
  5. storing username and password data in .txt file
    By Burke in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 08-22-2008, 09:17 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