compile error in format function

eugz

Registered User.
Local time
Yesterday, 21:03
Joined
Aug 31, 2004
Messages
128
Hi All.
Code:
Private Sub Form_Open(Cancel As Integer)
    cboDateStart.Value = Format(Now() - 7, "short date")
    ...
End Sub
When I run procedure the Format is highlighted and popup error message:
Compile error:
Can't find project or library
 

Users who are viewing this thread

Back
Top Bottom