On_Click expression to code

  • Thread starter Thread starter Sandy
  • Start date Start date
S

Sandy

I have the following expression in the On_Click event of a command button :-

=CalendarFor([txtDateReady],"Select the Date Ready")

which is from Allen Browne's popup calendar. Thing is I have a situation
where I would like to add a bit more code to the On_Click event, so my
question, how do I adjust the above expression to incorporate it in a Sub
procedure.

Sandy
 
In your VBA, simply put

Call CalendarFor([txtDateReady],"Select the Date Ready")
 
Thought it should be simple.
Thanks Doug

Sandy

Douglas J. Steele said:
In your VBA, simply put

Call CalendarFor([txtDateReady],"Select the Date Ready")

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


Sandy said:
I have the following expression in the On_Click event of a command button
:-

=CalendarFor([txtDateReady],"Select the Date Ready")

which is from Allen Browne's popup calendar. Thing is I have a situation
where I would like to add a bit more code to the On_Click event, so my
question, how do I adjust the above expression to incorporate it in a Sub
procedure.

Sandy
 
Back
Top