Hi, i would like to have message prompted to reming user doing backup whenever the workbook is opened from 28 til the last day of the month (30th or 31st depending on which month). wha's the correct code for "date"?
Private Sub Workbook_open()
If Date>=28 Then
Msg = "Remember to do monthly backup!"
MsgBox Msg, vbInformation
End If
End Sub
What's the correct way to express Date>=28 above?
Thanks!
Private Sub Workbook_open()
If Date>=28 Then
Msg = "Remember to do monthly backup!"
MsgBox Msg, vbInformation
End If
End Sub
What's the correct way to express Date>=28 above?
Thanks!