+ Reply to Thread
Results 1 to 7 of 7

Macro that opens last modified file in folder

  1. #1
    Forum Contributor
    Join Date
    12-13-2012
    Location
    Italy
    MS-Off Ver
    Excel 2010
    Posts
    162

    Macro that opens last modified file in folder

    Hello,

    I need a macro to open last modified (by date) excel file in a specific folder and display msg box with name of opened file. If possible it will be great to made that if file is already opened it show msg box file is already open.

    Thanks,

    forfiett

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Macro that opens last modified file in folder

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,519

    Re: Macro that opens last modified file in folder

    Another way

    Please Login or Register  to view this content.
    Last edited by mike7952; 12-29-2012 at 04:57 PM.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  4. #4
    Forum Contributor
    Join Date
    12-13-2012
    Location
    Italy
    MS-Off Ver
    Excel 2010
    Posts
    162

    Re: Macro that opens last modified file in folder

    It is working, many thanks!

    Is possible to display msg box: Last modified file is: _______(name of file for opening).
    Last edited by jeffreybrown; 12-30-2012 at 12:19 PM. Reason: Please do not quote entire quotes. It's unnecessary and it causes clutter.

  5. #5
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,519

    Re: Macro that opens last modified file in folder

    Yeap

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    12-13-2012
    Location
    Italy
    MS-Off Ver
    Excel 2010
    Posts
    162

    Re: Macro that opens last modified file in folder

    Yes thanks!
    Last edited by jeffreybrown; 12-30-2012 at 12:20 PM. Reason: Please do not quote entire quotes. It's unnecessary and it causes clutter.

  7. #7
    Registered User
    Join Date
    04-19-2011
    Location
    delhi
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Macro that opens last modified file in folder

    This is exactly what I was looking for....Thanks a ton.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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