userform+time
I have a userform that displays the Test time(or current time) .caption in a label. Then I have a textbox asking the user for the time product was pulled. Before the product can be tested it has to sit out for at least an hour after its been pulled. Is there a way within vba to subtract the difference between the test time and the time it was pulled and if the time difference is less then one hour dispaly a message box stating you have "xx" minutes left before product can be tested. Thanks to all for your help.
'Sets Test Time
Label4.Caption = Format(Time, "hh:mm")
|