On_Click expression to code

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
 
D

Douglas J. Steele

In your VBA, simply put

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

Sandy

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top