+ Reply to Thread
Results 1 to 8 of 8

VBA macro issues (Extract data from password protected website to excel)

  1. #1
    Registered User
    Join Date
    11-09-2018
    Location
    U.S.A.
    MS-Off Ver
    2016
    Posts
    5

    Post VBA macro issues (Extract data from password protected website to excel)

    I would greatly appreciate assistance in helping debug this piece of code and get it to run properly in VBA excel 2016.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: VBA macro issues (Extract data from password protected website to excel)

    I once did something like this. i added the code below.
    Its hard to help you debug when we dont have acces to the site.
    where does it go wrong?

    Please Login or Register  to view this content.
    Edit: i forgot the functions... everything was put in the same module btw.

    Please Login or Register  to view this content.
    Last edited by 323428; 11-09-2018 at 11:42 AM.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: VBA macro issues (Extract data from password protected website to excel)

    Do you actually have the password for that site?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    11-09-2018
    Location
    U.S.A.
    MS-Off Ver
    2016
    Posts
    5

    Re: VBA macro issues (Extract data from password protected website to excel)

    I do have a password for the site.

    I can't give it out. It is very sensitive.

    Is it possible to resolve it without password info?

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: VBA macro issues (Extract data from password protected website to excel)

    Just to help us, add a dummy PW, which you can then replace with the real password

  6. #6
    Registered User
    Join Date
    11-09-2018
    Location
    U.S.A.
    MS-Off Ver
    2016
    Posts
    5

    Re: VBA macro issues (Extract data from password protected website to excel)

    In the attached .txt file I have provided comments where things go wrong.

  7. #7
    Registered User
    Join Date
    11-09-2018
    Location
    U.S.A.
    MS-Off Ver
    2016
    Posts
    5

    Re: VBA macro issues (Extract data from password protected website to excel)

    Program terminates in these lines:

    Dim clip As DataObject 'Program stops in here

    Do While ieApp.Busy: DoEvents: Loop 'Program stops in here

    Do Until ieApp.readyState = READYSTATE_COMPLETE: DoEvents: Loop 'Program stops in here

    Set ieDoc = ieApp.document 'Program stops in here

  8. #8
    Registered User
    Join Date
    11-09-2018
    Location
    U.S.A.
    MS-Off Ver
    2016
    Posts
    5

    Re: VBA macro issues (Extract data from password protected website to excel)

    I would appreciate a little bit more explanations about two pieces of code you have posted.

+ 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. Replies: 1
    Last Post: 11-09-2018, 10:40 AM
  2. Pulling Data From Password Protected Website Using VBA Macro
    By jdautel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-16-2016, 05:53 PM
  3. Excel 2016 - looking for script to get data from password protected website
    By harris1210 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-25-2016, 01:58 PM
  4. Import data from password protected php website (semicolon separated data)
    By JacobKM in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-20-2014, 09:10 AM
  5. 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
  6. Need to extract data from password protect website
    By Kiran Kurapati in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2013, 09:35 AM
  7. Importing/Refreshing Data from Password-Protected Website
    By daniel3417 in forum Excel General
    Replies: 5
    Last Post: 06-29-2012, 12:46 PM

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