Need message box pop up at open for expiring licenses in workbook

spruce16

New Member
Joined
Sep 17, 2021
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
Hi all,

I looked through other threads but nothing helped with my situation.

I have a spreadsheet with employee names (LAST, FIRST, MI) in columns A,B,C then a list of the specific licenses and certifications continuing out to column R currently, with the potential to go further depending on additional certifications that come in. Those headings (names, license, cert types) are all in Row 9. I would like to get a pop up notification / msg box when opening the spreadsheet when there are dates that are 60 days from expiration. Ideally I would like the pop up to include the license type (so row 9 of the respective column with expirations) along with the last name of the employee whose license is expiring (column A of the respective Row, e.g. "Smith CPR Certification expiring in 60 days".

Not all the data in the field will have dates. Some certifications do not have expirations so they are denoted with an 'X' to show they obtained the certification. Not sure if that makes a difference. Also, would making this into a table affect the VBA? I would like to make it slightly easier on the eyes. Thanks in advance!
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi. I'm not good in VBA but if I may suggest...then I think it would be easier if you highlight those date cells with conditional formatting to highlight dates within 60days. Then you could just filter it by colour.
 
Upvote 0

Forum statistics

Threads
1,215,227
Messages
6,123,739
Members
449,116
Latest member
alexlomt

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