Dear Excel Experts,
I have Excel Workbook by name “ASR” in which there is a worksheet i.e. “ASR”, and requirement are as follows;
A. After clicking on button with name “ASR Approved”…
1. “Activity Status” in cell I233 is to be updated/filled with text ”COMPLETE”
2. “Activity Completed on” in cell J233 is to be updated/filled with DATE (when “ASR Approved” Button is clicked).
3. Worksheet “ASR” is to be saved in folder / path “C:\Users\rka085\Desktop\ASR_Approved"
4. Worksheet “ASR” is to be mailed with attachment of “ASR” worksheet ..
.to = "[email protected]"
.CC = "[email protected]"
.BCC = "[email protected]"
.Subject = "ASR 2021-213 has been Approved" (2021-213 is cell value of B233)
.Body = "Dear Team”
“ASR 2021-213 has been Approved"
“Thanks and Regards”
“Documentation - Team ”
“GTI ”
5. Line (B233 to K233) is to be copied and to be pasted into file “ASR_Status”(in folder C:\Users\rka085\Desktop) in available blank row from top data”
--------------------------------------------------------------------------------
B. After clicking on button with name “ASR Rejected”…
1. “Activity Status” in cell I233 is to be updated/filled with text ”REJECTED”
2. “Activity Rejected on” in cell J233 is to be updated/filled with DATE (when “ASR Rejected” Button is clicked).
3. Worksheet “ASR” is to be saved in folder / path “C:\Users\rka085\Desktop\ASR_Rejected"
4. Worksheet “ASR” is to be mailed with attachment of “ASR” worksheet ..
.to = INPUT WINDOW TO BE DISPLAYED for updating E-MAILS & REASON FOR REJECTION
.CC = "[email protected]"
.BCC = "[email protected]"
.Subject = "ASR 2021-213 has been Rejected" (2021-213 is cell value of B233)
.Body = "Dear Team”
“ASR 2021-213 has been Rejected"
“Thanks and Regards”
“Documentation - Team ”
“GTI ”
5. Line (B233 to K233) is to be copied and to be pasted into file “ASR_Status”(in folder C:\Users\rka085\Desktop) in available blank row from top data”
I have tried a vba script however its not working, kindly refer attached file for details
Kindly help
Thanks you very much advance.
RavindraK
Bookmarks