PC Review


Reply
Thread Tools Rate Thread

90 day reminder

 
 
Doug
Guest
Posts: n/a
 
      11th Dec 2009
I have a workbook with a "cover sheet" and a calculations sheet for quoting.
There are cells for pricing materials. I have been asked if there is someway
to create a reminder that would come up every 90 days to check the
materials/component pricing. I'm sure there is a way to do it but it is way
beyond my abilities. If someone could help I sure would appreciate it.
Thank you in advance!
 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      11th Dec 2009
Hi,

One way is to write the date of the last price check in a cell and on
workbook_open check if it is more than 90 days ago and if it is give the
warning and update the date in the cell. This uses A1 of sheet 1 but in
practice you could put it out of the way

Private Sub Workbook_Open()
lastchecked = Sheets("Sheet1").Range("A1")
If DateDiff("d", lastchecked, Now) >= 90 Then
MsgBox "Check prices"
Sheets("Sheet1").Range("A1") = Now
End If
End Sub

Mike

"Doug" wrote:

> I have a workbook with a "cover sheet" and a calculations sheet for quoting.
> There are cells for pricing materials. I have been asked if there is someway
> to create a reminder that would come up every 90 days to check the
> materials/component pricing. I'm sure there is a way to do it but it is way
> beyond my abilities. If someone could help I sure would appreciate it.
> Thank you in advance!

 
Reply With Quote
 
Doug
Guest
Posts: n/a
 
      11th Dec 2009
Mike,
First of all thanks for the response and example. I want to make sure I
understand: when you enter the date, in say "A1", does that date
automatically update when the 90 days have passed or would you have to
manually change the date in order to have it run another 90 day cycle? Is
there a way to put in a start date, say today, and at the end of the 90 day
period have the date automatically update for the next 90 day cycle?

Thanks


"Mike H" wrote:

> Hi,
>
> One way is to write the date of the last price check in a cell and on
> workbook_open check if it is more than 90 days ago and if it is give the
> warning and update the date in the cell. This uses A1 of sheet 1 but in
> practice you could put it out of the way
>
> Private Sub Workbook_Open()
> lastchecked = Sheets("Sheet1").Range("A1")
> If DateDiff("d", lastchecked, Now) >= 90 Then
> MsgBox "Check prices"
> Sheets("Sheet1").Range("A1") = Now
> End If
> End Sub
>
> Mike
>
> "Doug" wrote:
>
> > I have a workbook with a "cover sheet" and a calculations sheet for quoting.
> > There are cells for pricing materials. I have been asked if there is someway
> > to create a reminder that would come up every 90 days to check the
> > materials/component pricing. I'm sure there is a way to do it but it is way
> > beyond my abilities. If someone could help I sure would appreciate it.
> > Thank you in advance!

 
Reply With Quote
 
Mike H
Guest
Posts: n/a
 
      11th Dec 2009
Doug,

When you pick your cell to store the date, for the first time manually enter
the date of the last price check. That date can be any valid date. From then
on the code executes very time you open the workbook and:-

Tests the date to see if it >= 90 days in the past. If TRUE

A message box is displayed reminding of the need to check the prices.
A new date is written to the date cell.

If FALSE then nothing happens.

Mike

"Doug" wrote:

> Mike,
> First of all thanks for the response and example. I want to make sure I
> understand: when you enter the date, in say "A1", does that date
> automatically update when the 90 days have passed or would you have to
> manually change the date in order to have it run another 90 day cycle? Is
> there a way to put in a start date, say today, and at the end of the 90 day
> period have the date automatically update for the next 90 day cycle?
>
> Thanks
>
>
> "Mike H" wrote:
>
> > Hi,
> >
> > One way is to write the date of the last price check in a cell and on
> > workbook_open check if it is more than 90 days ago and if it is give the
> > warning and update the date in the cell. This uses A1 of sheet 1 but in
> > practice you could put it out of the way
> >
> > Private Sub Workbook_Open()
> > lastchecked = Sheets("Sheet1").Range("A1")
> > If DateDiff("d", lastchecked, Now) >= 90 Then
> > MsgBox "Check prices"
> > Sheets("Sheet1").Range("A1") = Now
> > End If
> > End Sub
> >
> > Mike
> >
> > "Doug" wrote:
> >
> > > I have a workbook with a "cover sheet" and a calculations sheet for quoting.
> > > There are cells for pricing materials. I have been asked if there is someway
> > > to create a reminder that would come up every 90 days to check the
> > > materials/component pricing. I'm sure there is a way to do it but it is way
> > > beyond my abilities. If someone could help I sure would appreciate it.
> > > Thank you in advance!

 
Reply With Quote
 
Doug
Guest
Posts: n/a
 
      11th Dec 2009
Thank you so much for the clarification! I appreciate your help on this.


"Mike H" wrote:

> Doug,
>
> When you pick your cell to store the date, for the first time manually enter
> the date of the last price check. That date can be any valid date. From then
> on the code executes very time you open the workbook and:-
>
> Tests the date to see if it >= 90 days in the past. If TRUE
>
> A message box is displayed reminding of the need to check the prices.
> A new date is written to the date cell.
>
> If FALSE then nothing happens.
>
> Mike
>
> "Doug" wrote:
>
> > Mike,
> > First of all thanks for the response and example. I want to make sure I
> > understand: when you enter the date, in say "A1", does that date
> > automatically update when the 90 days have passed or would you have to
> > manually change the date in order to have it run another 90 day cycle? Is
> > there a way to put in a start date, say today, and at the end of the 90 day
> > period have the date automatically update for the next 90 day cycle?
> >
> > Thanks
> >
> >
> > "Mike H" wrote:
> >
> > > Hi,
> > >
> > > One way is to write the date of the last price check in a cell and on
> > > workbook_open check if it is more than 90 days ago and if it is give the
> > > warning and update the date in the cell. This uses A1 of sheet 1 but in
> > > practice you could put it out of the way
> > >
> > > Private Sub Workbook_Open()
> > > lastchecked = Sheets("Sheet1").Range("A1")
> > > If DateDiff("d", lastchecked, Now) >= 90 Then
> > > MsgBox "Check prices"
> > > Sheets("Sheet1").Range("A1") = Now
> > > End If
> > > End Sub
> > >
> > > Mike
> > >
> > > "Doug" wrote:
> > >
> > > > I have a workbook with a "cover sheet" and a calculations sheet for quoting.
> > > > There are cells for pricing materials. I have been asked if there is someway
> > > > to create a reminder that would come up every 90 days to check the
> > > > materials/component pricing. I'm sure there is a way to do it but it is way
> > > > beyond my abilities. If someone could help I sure would appreciate it.
> > > > Thank you in advance!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reminder (Off / On) Link With Reminder Data/Time srm Microsoft Outlook Form Programming 3 6th Nov 2009 11:20 PM
Task reminder uses wrong due date when reminder comes up.... =?Utf-8?B?SmVubmlmZXI=?= Microsoft Outlook Discussion 0 24th Feb 2006 11:34 PM
reminder on recurring task doesn't occur if previous reminder =?Utf-8?B?VE9QU2ll?= Microsoft Outlook Discussion 0 12th Dec 2005 11:37 AM
I set default reminder on calendar but the reminder still doesn't. =?Utf-8?B?U2FyYWhXRA==?= Microsoft Outlook Calendar 0 13th Jan 2005 10:49 AM
Force reminder window to foreground when new reminder due =?Utf-8?B?SmFtZXM=?= Microsoft Outlook Discussion 0 22nd Dec 2004 05:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:39 PM.