There might be a better way, but you could use the Workbook_Open event to
check the current date and if it is three months from the issue date then
flash a message box.
Private Sub Workbook_Open()
IssueDate = 1/31/2008
If Date >= IssueDate + 90 Then
MsgBox "Refresh Is Due!", , "Advisory"
End If
End Sub
If will check each time the file is opened but will not show the message box
until the 90 day period is reached or exceeded.
> Hello everyone:
> I have a spreadsheet which needs to be refreshed with current data
[quoted text clipped - 11 lines]
> Is this possible are a pretty crazy idea? Any help and or examples
> appreciated. Thanks Ray: ps using Excel 2000 on XP
Dave Peterson - 26 Mar 2008 21:53 GMT
I bet you wanted IssueDate to be a date:
Private Sub Workbook_Open()
Dim IssueDate as Date
IssueDate = dateserial(2008,1,31)
If Date >= IssueDate + 90 Then
MsgBox "Refresh Is Due!", , "Advisory"
End If
End Sub
> There might be a better way, but you could use the Workbook_Open event to
> check the current date and if it is three months from the issue date then
[quoted text clipped - 25 lines]
> > Is this possible are a pretty crazy idea? Any help and or examples
> > appreciated. Thanks Ray: ps using Excel 2000 on XP

Signature
Dave Peterson
JLGWhiz - 26 Mar 2008 22:33 GMT
Yeah, I need to let my brain catch up with the logic.
> I bet you wanted IssueDate to be a date:
>
[quoted text clipped - 35 lines]
> > > Is this possible are a pretty crazy idea? Any help and or examples
> > > appreciated. Thanks Ray: ps using Excel 2000 on XP
eighthman11 - 27 Mar 2008 15:52 GMT
> Yeah, I need to let my brain catch up with the logic.
>
[quoted text clipped - 43 lines]
>
> - Show quoted text -
Thanks for the help. Based on your suggestions I got it working just
the way I want. One minor problem.
If I get a user who is savy enough to change the system date on the
computer they could bypass having
to update the spreadsheet. Any Ideas?
Dave Peterson - 27 Mar 2008 16:29 GMT
The same person will find a way to avoid the autorun macros.
I think you're fighting a losing battle.
But if you're a glutton for punishment and the user is connected to the
internet, you could search google for retrieving the date from a trusted source.
> > Yeah, I need to let my brain catch up with the logic.
> >
[quoted text clipped - 49 lines]
> computer they could bypass having
> to update the spreadsheet. Any Ideas?

Signature
Dave Peterson
eighthman11 - 27 Mar 2008 16:48 GMT
> The same person will find a way to avoid the autorun macros.
>
[quoted text clipped - 64 lines]
>
> - Show quoted text -
Thanks Dave. I agree, you can only do so much. At some point the
user has to take some
responsibility that they are doing their job correctly. Once again
thanks for the help.