J jevans Registered User. Local time Today, 23:45 Joined Oct 11, 2000 Messages 23 Mar 3, 2001 #1 I have a form with to fields "Begindate" and "Enddate". I would like to have these fields on form open generate the first and last days of the current month automatically. Thank you, in advance! Jerry
I have a form with to fields "Begindate" and "Enddate". I would like to have these fields on form open generate the first and last days of the current month automatically. Thank you, in advance! Jerry
J Jack Cowley Registered User. Local time Today, 23:45 Joined Aug 7, 2000 Messages 2,639 Mar 3, 2001 #2 This will give you the first day of the current month: =DateSerial(Year(Date()),Month(Date()),1) and this the last day: =DateSerial(Year(Date()),Month(Date())+1,0)
This will give you the first day of the current month: =DateSerial(Year(Date()),Month(Date()),1) and this the last day: =DateSerial(Year(Date()),Month(Date())+1,0)