Re: How To Get A Date To Advance In A TextBox
From: mudraker (mudraker.1ei99y_at_excelforum-nospam.com)
Date: 10/22/04
- Next message: Michael: "Add CommandBars take long time to return"
- Previous message: Dave Peterson: "Re: close excel application."
- In reply to: Minitman: "How To Get A Date To Advance In A TextBox"
- Next in thread: Minitman: "Re: How To Get A Date To Advance In A TextBox - Solved"
- Reply: Minitman: "Re: How To Get A Date To Advance In A TextBox - Solved"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 21 Oct 2004 20:58:55 -0500
You have not said were the text box is on a *** or a dilaog box
for a ***
this gives todays date
Sheets(1).TextBox1.Text = Format(Now(), "dd/mm/yyyy")
this adds 1 to the date in the text box
Sheets(1).TextBox1.Text = Format(DateValue(Sheets(1). _
TextBox1.Text) + 1, "dd/mm/yyyy")
-- mudraker ------------------------------------------------------------------------ mudraker's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=2473 View this thread: http://www.excelforum.com/showthread.php?threadid=271408
- Next message: Michael: "Add CommandBars take long time to return"
- Previous message: Dave Peterson: "Re: close excel application."
- In reply to: Minitman: "How To Get A Date To Advance In A TextBox"
- Next in thread: Minitman: "Re: How To Get A Date To Advance In A TextBox - Solved"
- Reply: Minitman: "Re: How To Get A Date To Advance In A TextBox - Solved"
- Messages sorted by: [ date ] [ thread ]