Kindly help me pls

3 text boxes namley "Text2" "Text3" and "Text4" Text2 gets a start date say 01/10/2005 and text3 an end date say 30/10/2005 then in Text4 the amount of days displayed is 30. I just dont know how to get the 30 displayed in Text4. in vb please help. my mail id is [email protected]
Submitted bymaddyrafion Fri, 08/06/2010 - 17:58

Hai I have 3 text boxes namley "Text2" "Text3" and "Text4" Text2 gets a start date say 01/10/2005 and text3 an end date say 30/10/2005 then in Text4 the amount of days displayed is 30. I just dont know how to get the 30 displayed in Text4. in vb please help.
Submitted bymaddyrafion Fri, 08/06/2010 - 20:35

Hai: i have 3 textbox in vb, its name was textbox1.text, textbox2.text, and textbox3.text, i want to display the total days in the third textbox, in first textbox i have from date eg: 05/06/2005, and in second textbox i have end date: 06/05/2009, in that third textbox i want to display the total days between from date to end date. pls send the source code for it in vb or vba

Text4.Text = DateDiff("d", Text1.Text, Text2.Text) in your final code declare variables not text Dim TheDate As Date

Add new comment