Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SIMPLE macro for calendar/textbox control?

Status
Not open for further replies.

cgarrett1974

Instructor
Nov 11, 2003
4
US
i have looked all over this board (and other topics) to find a simple macro to associate when someone clicks on a date in a calendar control form and have it populate a text box in another form. any ideas? there has to be a simple way other than code!

thanks in advance,

chad
 
The best way to do it is through code..
Its quite simple though.

Place the calender control on another form so that the user would select the date from the calender and click on an OK button. On the on click event of the button place the code

me.txtYourTexBoxName = Me.objCal.Value

Hope it helps

Neemi.
 
The best way to do it is through code..
Its quite simple though.

Place the calender control on another form so that the user would select the date from the calender and click on an OK button. On the on click event of the button place the code

me.txtYourTexBoxName = Me.YourCalenderObjectName.Value

Hope it helps

Neemi.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top