I am trying to format the report caption to look like
20051109 - Action Items
YYYYMMDD - Action Items
using the code below but I am getting a compile error:can't find project or library.
Please help!
20051109 - Action Items
YYYYMMDD - Action Items
using the code below but I am getting a compile error:can't find project or library.
Please help!
Code:
Private Sub Report_Open(Cancel As Integer)
Dim RC As Variant
RC = Format(Now(), "YYYYMMDD") + "-Action Items"
Report.Caption = RC
End Sub