+ Reply to Thread
Results 1 to 4 of 4

How to Open Latest Download from Default Download Location

  1. #1
    Registered User
    Join Date
    10-14-2015
    Location
    East Coast
    MS-Off Ver
    2013
    Posts
    69

    How to Open Latest Download from Default Download Location

    Hi All,

    I'm struggling with the following. I need to write a script that will 1) identify the users' default download location, and 2) open the latest download within said download location.

    Essentially, I've automated internet explorer to download an excel file to the end-users machine, but not everyone has the same default download location.

    Any ideas here?

    Thanks in advanced!

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,358

    Re: How to Open Latest Download from Default Download Location

    Does this work for you ?
    Please Login or Register  to view this content.
    Last edited by bakerman2; 05-09-2018 at 01:48 AM. Reason: Typo
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Registered User
    Join Date
    10-14-2015
    Location
    East Coast
    MS-Off Ver
    2013
    Posts
    69

    Re: How to Open Latest Download from Default Download Location

    Hi Bakerman2,

    This is great. However, how would I go about opening the file using vba? This returns the name of the excel file in a message box.

  4. #4
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,358

    Re: How to Open Latest Download from Default Download Location

    Please Login or Register  to view this content.

+ 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. open or download the workbook from the internet
    By mrkhchan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-09-2015, 12:56 AM
  2. [SOLVED] Web Browser Control - Set Default Download location
    By bradl822 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-30-2015, 07:49 PM
  3. how can i download user details from mysql on date basis
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-19-2014, 07:31 AM
  4. Download and Open PDF
    By frank35 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-05-2013, 05:51 PM
  5. Download Latest email Attachement in Sub Folder
    By Gordie87 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-25-2013, 04:51 AM
  6. [SOLVED] Unable to download and install the latest update for excel 2003
    By Turp In TX in forum Excel General
    Replies: 0
    Last Post: 03-28-2006, 09:40 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