I've got a worksheet with 3 columns:
A. User Name
B. How many days left until their password expires
C. Date of their password expiration.
I'd like to be able to run a macro which determines if anybody has their password expiring in the next 10 days. So if column B contains a 10 or less, then fire off an email saying that they need to change their password.
I'll probably add a column D with the username's email address, so basically the VBA code will use column D to get the email, and insert Column C's date of expiration in the resulting email message.
Can this be done? I've searched the net and have found brief references, but nothing quite like this. Any help would be greatly appreciated. Thanks!
A. User Name
B. How many days left until their password expires
C. Date of their password expiration.
I'd like to be able to run a macro which determines if anybody has their password expiring in the next 10 days. So if column B contains a 10 or less, then fire off an email saying that they need to change their password.
I'll probably add a column D with the username's email address, so basically the VBA code will use column D to get the email, and insert Column C's date of expiration in the resulting email message.
Can this be done? I've searched the net and have found brief references, but nothing quite like this. Any help would be greatly appreciated. Thanks!