+ Reply to Thread
Results 1 to 4 of 4

Auto save IE file download dialog box in a user defined path

  1. #1
    Forum Contributor
    Join Date
    11-29-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    101

    Auto save IE file download dialog box in a user defined path

    Hi All,

    I am trying to automate the file download dialog box. User will enter the path in a cell of excel sheet on where to save the file. Then the file download dialog box of IE should save the file in that path. I tried the below code. But its not working. It stuck up at save as step. can someone please complete it.


    Please Login or Register  to view this content.
    Thanks in advance..!!

  2. #2
    Forum Contributor
    Join Date
    11-29-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    101

    Re: Auto save IE file download dialog box in a user defined path

    Bringing this thread up.. Can someone please help

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

    Re: Auto save IE file download dialog box in a user defined path

    There is no real way to do what you want properly because you're not really doing it in the right way.

    You should be downloading the file directly from Excel, not using IE - this bypasses all the IE UI including the download dialogue. The complexity in doing this depends entirely on the web page in question, but it is the correct way of solving the issue

  4. #4
    Forum Contributor
    Join Date
    11-29-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    101

    Re: Auto save IE file download dialog box in a user defined path

    The issue comes at this line under Save_As_Filename function

    Please Login or Register  to view this content.
    hwnd returns 0. I guess ComboBoxEx32 is not found.

    Do anyone have idea on this

+ 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. Change Save As path on the download file box (VBA and API)
    By aqpham3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2013, 10:08 AM
  2. Save file with specific name and ask user for the path
    By kammariarun in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-08-2013, 05:19 PM
  3. [SOLVED] Save As Dialog Box - Default Path and File Name, User Selects Sub Folder from Default Path
    By christenprochaska in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2012, 05:17 PM
  4. Path for File Saving Defined by USER
    By crapmind in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-21-2007, 09:58 AM
  5. [SOLVED] How do I suppress user dialog in File Save As?
    By Tony Lin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-29-2006, 04:00 AM

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