Adding Popup Reminders in Excel 2010 using VBA

blairski10

New Member
Joined
Jan 26, 2014
Messages
9
I have a Excel based Dashboard / Report that needs to be updated with new data sets on a number of specific dates.

Is there a way where I can create a VBA macro that will deliver a Popup Reminder when I open the file if one of the dates in my range of information equals the =TODAY() function? And if the value is TRUE, can I insert specific text to reminder based on the information in the Cell directly to the right?

Here's what I'm thinking of creating

[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]=TODAY()[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11/15/15[/TD]
[TD]Update Dashboard with new financial data[/TD]
[/TR]
[TR]
[TD]4/1/16[/TD]
[TD]Update Dashboard with new subscription information[/TD]
[/TR]
[TR]
[TD]7/1/16[/TD]
[TD]Deliver Dashboard Report to Principals for Review[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]









Can this be done?

Thanks!

Blair
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
You'll want to add this into the On Open section.

ThisWorkbook >> Workbook >> Open

Code:
Private Sub Workbook_Open()
Dim Fin As Date
Dim Subs As Date
Dim Prin As Date
[B][COLOR=#0000ff]Fin = Range("A2")
Subs = Range("A3")
Prin = Range("A4")[/COLOR][/B]
If Fin = Date Then
    MsgBox ("Update Dashboard with new financial data")
ElseIf Subs = Date Then
    MsgBox ("Update Dashboard with new subscription information")
ElseIf Prin = Date Then
    MsgBox ("Deliver Dashboard Report to Principals for Review")
End If
End Sub

Fields in blue can either be changed to the date directly, or adjusted to the appropriate cells that these dates are stored.


The DATE function in VBA is the equivalent of the today() command in a formula.
 
Upvote 0

Forum statistics

Threads
1,226,730
Messages
6,192,708
Members
453,748
Latest member
akhtarf3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top