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: 586
Default Add 10 minutes to a Date

I have a procedure that imports data from another workbook. I want ensure
that the source workbook has been updated in the last 10 minutes before I do
the import. How can I do this? Here is an example:

' make sure macola file has been updated in the last 10 mins
If ThisWorkbook.BuiltinDocumentProperties("Last Save Time") + 10 minutes <
Date Then
Call UpdateStatusOnOpen(ThisWorkbook)
End If


--
Cheers,
Ryan
 
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
Add 10 minutes to a date/time value Sarah G Excel Worksheet Functions 7 April 3rd 23 02:29 PM
Date Difference Hours, Minutes Jim Excel Discussion (Misc queries) 2 September 24th 09 04:08 PM
How to: date field minus minutes equals new date dst Excel Worksheet Functions 2 December 25th 07 06:38 PM
Date Difference in ONLY minutes [email protected] Excel Discussion (Misc queries) 1 May 20th 07 07:28 PM
Difference of date & time in minutes ramsdesk Excel Worksheet Functions 2 November 10th 04 06:01 AM


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