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 ID Range Serial number Calibration date Expire date Status
01-003-0006 50-63 1528 14-Aug-2019 14-Aug-2020 Expired
01-003-0009 200-500 681884 9-May-2019 9-May-2020 Expired
01-003-0012 50-63 17104 30-Jul-2021 30-Jul-2022 Certified
01-003-0015 125-150 149664 16-Jul-2020 16-Jul-2021 Expired
01-003-0018 100-125 150019 16-Jul-2020 16-Jul-2021 Expired
01-003-0028 100-2100 26234146 19-Jan-2021 19-Jan-2022 About to expire
01-003-0029 50-63 30762 24-May-2019 24-May-2020 Expired
The 'Status' column automatically changes to 'About to expire' when the date is 30 days away from expiring.
Now, I want a pop-up messagebox 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
Bookmarks