Pop up Reminder on Multiple sheets

Laura Graham

New Member
Joined
Aug 19, 2014
Messages
6
Hi there,
I have this code, firstly it doesn't pick up the dates on REPS CHECKLIST NEW sheet, secondly it WAS running but not running anymore, and when it did run It would give an error on If cell.Value = Date Then
I want it to give me a pop up message reminder - Names in Column A and Dates from Column D:W

Private Sub Workbook_Open()
Dim ws As Worksheet
Dim RunOn As String
Dim cell As Range
RunOn = "|LEADS NEW CHECKLIST|REPS NEW CHECKLIST|"
For Each ws In ThisWorkbook.Sheets
If InStrRev(RunOn, "|" & ws.Name & "|") > 0 Then
For Each cell In ws.Range("D3:W2000")
If cell.Value = Date Then
MsgBox ("Follow Up with" & " ") & ws.Range("A" & cell.Row).Value & " - " & ws.Name
End If
Next cell
End If
Next ws
End Sub
 

Attachments

  • code.JPG
    code.JPG
    47 KB · Views: 11

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Try using the ISDATE function to check to see whether the cell contains a date.
 
Upvote 0
So what are you checking for in your code?

If cell.value = Date or cell.value = Date
 
Upvote 0
What error message you are getting?

I've tried doing the same thing and it works fine for me
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,179
Members
453,021
Latest member
Justyna P

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