+ Reply to Thread
Results 1 to 2 of 2

IE Automation "Download File" dialog box

  1. #1
    Registered User
    Join Date
    03-17-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    6

    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:

    http://admin.abcd.com/admin/report.j...ReportFormat=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.
    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the blue scales icon located in one of their post in this thread.

    Please consider the environment before printing this mail.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: IE Automation "Download File" dialog box

    I'm afraid your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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