Akshay_divecha
Board Regular
- Joined
- Mar 11, 2014
- Messages
- 70
Dear Experts,
i am new to macro and not able to think on how to write a macro which can perform below steps thus need your help
I have a excel which has 2 worksheets
Sheet1 - "Data" - This has list of Customers with their outstanding amount.
Sheet2 - " Details" - This has a list of Customs whom i need to send mail and their subject/mail body.
When a macro is initiated, it should perform below steps,
1. From Details sheet it should pick first row
2. Filter data for that customer in Data sheet, (Oldest first) add total in last row and copy, paste it in gmail also subject line, from/too/mail body should be copied from details sheet.
3. Send mail
4. do the same for all the customers mentioned in Details sheet
i am new to macro and not able to think on how to write a macro which can perform below steps thus need your help
I have a excel which has 2 worksheets
Sheet1 - "Data" - This has list of Customers with their outstanding amount.
Sheet2 - " Details" - This has a list of Customs whom i need to send mail and their subject/mail body.
When a macro is initiated, it should perform below steps,
1. From Details sheet it should pick first row
2. Filter data for that customer in Data sheet, (Oldest first) add total in last row and copy, paste it in gmail also subject line, from/too/mail body should be copied from details sheet.
3. Send mail
4. do the same for all the customers mentioned in Details sheet