New Member
September 8, 2020
Hi,
Hope everyone is fine.
My question is. Say there are the below five columns
docket no | User dept. | status | Activity date | activity duration |
MJ/123 | A | standing committee | 05-07-2020 | 64 |
MJ/421 | B | Technical with user dept. | 05-08-2020 | 33 |
MJ/456 | A | technical with vendor | 05-09-2020 | 2 |
MJ/504 | C | pp signing due | 07-09-2020 | 0 |
MJ/512 | A | Technical with user dept. | 02-09-2020 | 5 |
Say in sheet two I have the list of email id's against each user dept.
Now what will be the code for each occurence of cell values.
Say "status" is standing committee and depending on the values of the column "activity duration" mail ids will be sent.
now the activity duration column has the function =today()-D1
If D1 is between 5 and 10 and status = standing committee then email will be sent to the user dept. that is mentioned in B1
If D1 is greater than 10 and status is "standing committee" again mail will be sent automatically to the person that is mapped in sheet 2 against each user dept.
Awaiting your kind reply.
Kaushik C
Trusted Members
December 20, 2019
VBA and sending emails has been cover loads of times on this forum, i would suggust reading through the blogs
October 5, 2010
Hi Kaushik,
As Purfleet said this has been covered many times, did you use the Search function at the top of the site? Searching for 'email' in the topic title in the VBA forum returns 35 posts
like this
https://www.myonlinetraininghu.....ough-excel
https://www.myonlinetraininghu.....ell-values
https://www.myonlinetraininghu.....rent-sheet
Read through those to see if they already answer your question. If you get stuck after trying to write the code then please post your workbook here.
Regards
Phil
1 Guest(s)