Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I'll give it a shot! Unfortunately I need to go to a meeting, so it's =
going to be=20 a while before I can test this out, but at least I've got something to = try when=20 I come back. -----Original Message----- There are probably a number of ways to skin this cat: one of them is to use the Timer function, which returns the number of seconds elapsed since midnight. In your case 5pm is 17 hours after midnight, which equates to 17*60*60 or 61200 seconds. You could replace your code If Now Mod 1 17 / 24 Then .... with this: If Timer =3D 61200 Then This method will save you a lot of conversion of time strings to numeric, etc. Dave O . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Playing a macro from another workbook | Excel Discussion (Misc queries) | |||
Date/Time Macro | Excel Discussion (Misc queries) | |||
Date macro | Excel Discussion (Misc queries) | |||
Macro and If Statement | Excel Discussion (Misc queries) | |||
Macro Formula revision? | Excel Worksheet Functions |