Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Finding Newest File

I'm writing a macro to output an automated sheet to the folder that contains
the latest dates information. I'm not sure on how to sort through or access
the file names in order to find the newest date. After this I want to place
the outputted file into the lastest dates folder.
Another issue is that this macro should only run on tues,thurs, and fridays
at 3 pm.
If someone could help me find a way to put the outputted file into the
newest date's file and automate its runtime I would be very thankful. ps.
I'm very new to visual basic.

Thanks, Dan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Finding Newest File


Two different methods to find the latest file are shown in this post...
http://tinyurl.com/yqmz7x
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel add-ins)



"DanMsoeEE"
wrote in message
I'm writing a macro to output an automated sheet to the folder that contains
the latest dates information. I'm not sure on how to sort through or access
the file names in order to find the newest date. After this I want to place
the outputted file into the lastest dates folder.
Another issue is that this macro should only run on tues,thurs, and fridays
at 3 pm.
If someone could help me find a way to put the outputted file into the
newest date's file and automate its runtime I would be very thankful. ps.
I'm very new to visual basic.

Thanks, Dan
Reply
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
Filtering by newest date Al Excel Discussion (Misc queries) 2 November 12th 08 05:05 PM
Finding the oldest & newest dates Bob Smith Excel Worksheet Functions 3 April 13th 07 02:27 PM
Delete all but newest file JohnUK Excel Programming 7 July 22nd 06 02:51 PM
Opening newest file Todd Excel Programming 1 November 5th 04 04:55 AM
SV: Check for newest *.txt file and import data ALK Excel Programming 0 April 2nd 04 10:16 AM


All times are GMT +1. The time now is 01:25 AM.

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"