LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Testing modification time of file

What can I say? Genius, it works like a charm.
Thanks

"Die_Another_Day" wrote:

Whoops, that's 20 days. use this instead:
How about:
If (Now - (20/24)) < FileDatetime(strFilename) Then
'Do Stuff
End If

Charles

P.S. In VBA 1 in a date format = 1 day, you want 20hrs or 20/24ths of a
day.


 
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
Modification Time Update Kanmi Excel Worksheet Functions 3 June 24th 09 06:48 PM
Modification of a .CSV file [email protected] Excel Discussion (Misc queries) 6 April 23rd 07 09:11 PM
Excel file modification date GROSNER Excel Discussion (Misc queries) 5 March 4th 05 01:19 AM
Testing Time /Date stamps of Files Tom Ogilvy Excel Programming 1 September 14th 03 07:49 PM
Testing Time /Date stamps of Files Tom Ogilvy Excel Programming 1 September 1st 03 05:38 PM


All times are GMT +1. The time now is 01:15 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"