Beginning Of Month

J

Jason Penny

Trying to find a way to set the default value of a text
box to always be the beginning of the current month.
Thanks a bunch!
 
P

Peter Doering

Trying to find a way to set the default value of a text
box to always be the beginning of the current month.
Thanks a bunch!

Me!MyTextBox.Value = DateSerial(Year(Date()),Month(Date()),1)

HTH - Peter
 

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