Tet Htut Naing
Board Regular
- Joined
- Mar 28, 2015
- Messages
- 101
Dear All,
I am troubling with excel macro again.
There is staff attendance workbook in which 12 monthly sheets (one sheet represent one month) take records of all staff attendance time. If they are late on a date, then "pl" is put in that date of column. At the end of the columns, BN Column sums up the total frequency/time of late of staff.
What I want to do is
1) If a staff is late 5 times within a month or the value is 5 at one cell of Column BN, then read the value of the staff name in column C. Then, in Email Addr sheet within the same workbook, I want to do Vlookup to find the staff email address and his/her supervisor email address, adjacent cell to the staff email address.
2) Then I want to email to those email addresses.
What I find difficult for me is "reading the staff name" and VLookup for sending those email addresses in MS Outlook app.
Please help me.
Best Regards,
Ko Htut
I am troubling with excel macro again.
There is staff attendance workbook in which 12 monthly sheets (one sheet represent one month) take records of all staff attendance time. If they are late on a date, then "pl" is put in that date of column. At the end of the columns, BN Column sums up the total frequency/time of late of staff.
What I want to do is
1) If a staff is late 5 times within a month or the value is 5 at one cell of Column BN, then read the value of the staff name in column C. Then, in Email Addr sheet within the same workbook, I want to do Vlookup to find the staff email address and his/her supervisor email address, adjacent cell to the staff email address.
2) Then I want to email to those email addresses.
What I find difficult for me is "reading the staff name" and VLookup for sending those email addresses in MS Outlook app.
Please help me.
Best Regards,
Ko Htut