pop-up message box expired dates

calebruiz

New Member
Joined
Jan 11, 2022
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hello everyone,

I'm currently doing my internship and my assignment is to create a dashboard for a company of all their certified assets. I have 7 sheets that have multiple tables with certificates and their expire dates. Below you will find an example of one of the many tables:

Instrument IDRangeSerial nrCalibration dateExpire dateStatus
01-116-00010-50123414-Aug-201914-Aug-2020Expired
01-116-000250-100234512-Sep-202012-Sep-2021Expired
01-116-0003100-150345615-Apr-202115-Apr-2022Certified
01-116-0004150-20045679-Oct-20209-Oct-2021Expired
01-116-0005200-250567821-Jan-202121-Jan-2022About to expire
01-116-0006250-30067895-Jul-20215-Jul-2022Certified
01-116-0007300-350789019-Jan-202119-Jan-2022About to expire

The 'Status' column automatically changes to 'About to expire' when the date is 30 days away from expiring.

Now, I want a pop-up MsgBox every time the excel workbook is opened saying which certificate is about to expire and which expired already. See attached picture:
msgbox excel example.PNG


Is there a code in VBA that I can apply for all tables on every sheet? Please let me know.

Kind regards,
Caleb
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Message box for expired dates from multiple sheets
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,184
Members
452,615
Latest member
bogeys2birdies

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