Consulting

Results 1 to 3 of 3

Thread: IE Automation "Download File" dialog box

  1. #1
    VBAX Newbie
    Joined
    Sep 2010
    Posts
    2
    Location

    Angry IE Automation "Download File" dialog box

    I have an internal web based tool from. Using Excel VBA I submit the user credentials, open a report page, auto submit all the required details on a web form and click on show report button. This will generate a report that will be displayed on the web page and also allow the user to export it to excel.
    There are two option available for me here. either i loop through all the rows and columns in the html table displayed on the web page and get the data in the excel sheet. Second option is to click on the "Generate Report" link which will prompt me with a download file dialog box (IE Download window). the first option is too slow and hence I have only one choice left.
    however, there is no way that i can either open the document by clicking on the "Open" button or save it by clicking on the "Save" button. I would prefer opening it as it will save my from specifying the location and then reopening it again from there.
    Also to add to this, this is not a direct link. the report is generated only after the form fields are filled and submitted to the server.
    The url looks like:
    admin.abcd.com/admin/report.jsp?selReportFormat=E
    So I cannot even direcly download from the above url. If i try the shortcut what i get is a blank file of 1 KB.
    Could anyone please suggest me a workaround to this.
    I have already searched google and multiple forums for this but have received no success.

  2. #2
    VBAX Tutor mohanvijay's Avatar
    Joined
    Aug 2010
    Location
    MADURAI
    Posts
    268
    Location

  3. #3
    VBAX Newbie
    Joined
    Sep 2010
    Posts
    2
    Location
    Thanks for the reply. I will look into this and get back to you on this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •