LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default find latest date modified file

Hi ,

I am trying to write a macro that goes into the same folder directory and
searches for the latest modified file and open that workbook... the Dir is
"H:\My WorkStation\PRCD" , and the filename is named after PRCD and the date
when the file is created....so each time a new worksheet will be created by
date created.e..g. in the folder, these are the worksheet found:

PRCD052207.xls 'this is the most newest file looking at the "date Modified:
PRCD041807.xls
and so on....

How can i write the macro to run this?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find the latest date? lalann Excel Discussion (Misc queries) 2 July 9th 09 11:18 AM
How to find a row with latest date and its values MSSailor Excel Discussion (Misc queries) 1 March 12th 09 02:16 AM
find latest date in a row, when dates have apostrophes in it brakbek Excel Discussion (Misc queries) 3 January 19th 07 09:14 PM
Find latest date for each row scuba79 Excel Programming 1 October 13th 05 10:39 PM
Find folder with next to latest date Ed[_18_] Excel Programming 2 July 28th 04 08:51 PM


All times are GMT +1. The time now is 05:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"