PC Review


Reply
Thread Tools Rate Thread

auto date reminder in excel

 
 
Paulio06
Guest
Posts: n/a
 
      11th May 2009
HI, is there any way of entering a date in the future in a cell, then
programming it to open and flag when the date arrives? What I want to do is
add a note to the cell to say that when this particular date arrives to
remind me to look into what my task is.

Just want to know if it is possible in excel or if it's a bit too complicated
 
Reply With Quote
 
 
 
 
Jacob Skaria
Guest
Posts: n/a
 
      11th May 2009
Right click the sheet tab to click 'ViewCode' and paste the below code. Save
and get back to workbook. The code looks for any comments in Column A. I
assume the comments will have only the date and no text...try and
feedback..Should show a message box on Sheet Activate event....


Private Sub Worksheet_Activate()
lngLastRow = ActiveSheet.Cells(Rows.Count, "A").End(xlUp).Row
For lngRow = 1 To lngLastRow
If Not Range("A" & lngRow).Comment Is Nothing Then
dtTemp = CDate(Range("A1").Comment.Text)
If dtTemp = Date Then MsgBox "Refer task in " & Range("A" & lngRow).Address
Range("A" & lngRow).Activate
Exit Sub
End If
Next
End Sub

If this post helps click Yes
---------------
Jacob Skaria


"Paulio06" wrote:

> HI, is there any way of entering a date in the future in a cell, then
> programming it to open and flag when the date arrives? What I want to do is
> add a note to the cell to say that when this particular date arrives to
> remind me to look into what my task is.
>
> Just want to know if it is possible in excel or if it's a bit too complicated

 
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
Can a date in excel be linked with outlook to serve as a reminder =?Utf-8?B?R04=?= Microsoft Excel Worksheet Functions 0 8th Jun 2007 09:56 AM
Task reminder uses wrong due date when reminder comes up.... =?Utf-8?B?SmVubmlmZXI=?= Microsoft Outlook Discussion 0 24th Feb 2006 11:34 PM
Cell shows date, want to email from excel to me as a reminder =?Utf-8?B?bmxkdW5pcXVl?= Microsoft Excel Misc 2 17th Nov 2005 06:08 PM
I need to set up a date reminder in Excel to pop-up. =?Utf-8?B?QW1pZWx5cw==?= Microsoft Excel Worksheet Functions 0 1st Aug 2005 08:58 PM
Excel Date - Auto enter file creation date (free chocolate for help) arielax Microsoft Excel Misc 6 29th Apr 2004 02:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:52 PM.