>Try corrections below in bold
.
>>
>>
thisform.oleControl1.year.value = year(<b>DATE()</b>)
thisform.oleControl1.month.value = month(<b>DATE()</b>)
thisform.oleControl1.day.value = <b>Day</b>(date())
>>
Hi Sergey - thank you for your response. I tried it out and ran the form. Then from the drop list on the oleControl, select January as the month, 2005 as the year and clicked on a date in that month/year. Then I clicked the This Month button and got the following error messages:
Member YEAR does not evaluate to an object
Member MONTH does not evaluate to an object
Member DAY does not evaluate to an object
- Ravi
- Ravi
True greatness consists in being great in little things.
- Charles Simmons