Rockhopper3
Board Regular
- Joined
- Apr 11, 2006
- Messages
- 131
I am working onb a file that after a certain date, it will prompt the user to update the information for the new year. What I need is a way for the code that prompts the user to update itself as well.
i am using the following code.
I need the year to increase by one when the user updates the file.
i am using the following code.
Code:
Private Sub Workbook_Open()
If Date < #1/31/2007# Then Exit Sub
MsgBox "Rollover now required." & Chr(13) & "Press 'OK' to begin rollover process." & Chr(13) & "Press 'CANCEL' to continue as normal.", vbInformation + vbOKCancel, "Rollover Notification"
If vbCancel Then Exit Sub
I need the year to increase by one when the user updates the file.