O
Opal
I am attempting to use Allen Browne's calendar control located at:
http://allenbrowne.com/ser-51.html
But I am getting the following error when I click on the calendar
button:
"Compile error: Can't find project or library"
The Yellow debug arrow points to the following lines of code:
Private Sub Form_Open(Cancel As Integer)
On Error GoTo Form_Open_Err
'Initialize to the existing date, or today if null.
If IsDate(gtxtCalTarget) Then
Me.txtDate = gtxtCalTarget.Value
Else
Me.txtDate = Date
End If
With "Date" after the equals sign highlighted. What am I missing here?
http://allenbrowne.com/ser-51.html
But I am getting the following error when I click on the calendar
button:
"Compile error: Can't find project or library"
The Yellow debug arrow points to the following lines of code:
Private Sub Form_Open(Cancel As Integer)
On Error GoTo Form_Open_Err
'Initialize to the existing date, or today if null.
If IsDate(gtxtCalTarget) Then
Me.txtDate = gtxtCalTarget.Value
Else
Me.txtDate = Date
End If
With "Date" after the equals sign highlighted. What am I missing here?