Bass71
MIS
- Jun 21, 2001
- 79
Hello,
I'm trying to find the correct sytnax for the following...
dim j
j = InputBox ("Enter Logoff Time in Military Format")
If SysTime > "# & j & #" Then...<<this doesn't and many other variations do not work>>
However, if I write:
If SysTime > #18:30# Then...<<this works>>
How can I pass j into the If Then statement?
Thank you..........RO
I'm trying to find the correct sytnax for the following...
dim j
j = InputBox ("Enter Logoff Time in Military Format")
If SysTime > "# & j & #" Then...<<this doesn't and many other variations do not work>>
However, if I write:
If SysTime > #18:30# Then...<<this works>>
How can I pass j into the If Then statement?
Thank you..........RO