Thread: Check for date
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Check for date

'-------------------------------------------------------------------------
Private Sub Workbook_Open()
'-------------------------------------------------------------------------
If Day(Date) = 1 Then
'do the check
End If
End Sub


'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code



--
HTH

Bob Phillips

"Kjeldc" wrote in message
...
Memberfee is due every 1. day of month. How do I make a automatic check

for
the date when the workbook open?