Oct 6, 2005 #1 Ielamrani MIS Jul 7, 2005 183 US Hi everyone, I would like to subtract a text box time from another but I am having trouble..Can anyone help. Thanks in advance I have 4 text boxes: Txt1 9:00AM Txt2 12:00Am I would like Txt3 to show me 3 (which is Txt1 - Txt2)
Hi everyone, I would like to subtract a text box time from another but I am having trouble..Can anyone help. Thanks in advance I have 4 text boxes: Txt1 9:00AM Txt2 12:00Am I would like Txt3 to show me 3 (which is Txt1 - Txt2)
Oct 6, 2005 #2 HarleyQuinn Programmer Jan 15, 2003 4,769 GB You might want to look and the DateDiff() function for this. Hope this helps HarleyQuinn --------------------------------- Get the most out of Tek-Tips, read FAQ222-2244 before posting. Upvote 0 Downvote
You might want to look and the DateDiff() function for this. Hope this helps HarleyQuinn --------------------------------- Get the most out of Tek-Tips, read FAQ222-2244 before posting.
Oct 6, 2005 #3 PHV MIS Nov 8, 2002 53,708 FR =Format([Txt2]-[Txt1],"h:nn") Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
=Format([Txt2]-[Txt1],"h:nn") Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Oct 6, 2005 Thread starter #4 Ielamrani MIS Jul 7, 2005 183 US Thank you very much. Ismail Upvote 0 Downvote