Hi,
I have an Excel sheet that contains some basic information about employees. One of those fields includes the date that their security ID expires. I am wanting some VBA code to lookup that date of expiry and then email a simple message via Outlook to an email address when that date is within 31 days. It is basically so she doesn't miss/leave it too late when creating the new ID badges.
I have looked at VBA that worked fine with the email side of it but the criteria was always based on a > 100 for example which wasn't any good to me.
I am wanting this VBA code to run when the XLSX file first starts up, I will then place the file in her Windows start-up folder so that every morning when she turns on her PC it will all be automated and will email her the alert.
(Getting greedy now) Also if possible in the body of the email alert that it sends out it would list the name of the person(s) that ID badges are running out, so she doesn't have to search through the excel sheet looking for them.
Any help would be greatly appreciated! :)