+ Reply to Thread
Results 1 to 1 of 1

Save a file from a webpage, from an uknown/partially known URL, via VB script

  1. #1
    Registered User
    Join Date
    05-11-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    1

    Save a file from a webpage, from an uknown/partially known URL, via VB script

    Hi Guys,

    I am new to VB, I've an interesting yet challenging scenario. I am stuck in this for more than a month
    When I click a button on my secured site it open a new webpage in which I can download my file (mostly .CSV file).
    I need to automate this, but below are my challenges
    1) Because of some IE setting I need to press and hold 'ctl' button for me to get popup that I can save file (I've attached a screen shot of popup, how it looks when I hold 'Ctl' button), if I dont hold ctl button, the webpage opens and closes immediately.
    2) But if I open a new webpage and enter the same URL, I dont have to press and hold 'ctl' button. (I get the popup to download the file)
    3) Challenge is the new webpage URL changes every time I login to the site, and I am not able to find through VB what the new URL is because it just closes immediately.

    Any insight would be greatly appreciated.

    Thanks,
    Adi
    Attached Images Attached Images

+ 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. Macro to Open webpage, then save webpage as txt file.
    By jasocke2 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-07-2012, 04:25 AM
  2. [SOLVED] Download/Save webpage images to file using VBA
    By capnhud in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-08-2012, 11:43 AM
  3. Save a single file webpage of each visible sheet in a workbook
    By Matt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-30-2006, 12:50 PM
  4. Replies: 1
    Last Post: 07-16-2005, 11:05 AM
  5. VB Script file save as with date
    By nixter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-13-2005, 04:06 PM

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