Sorry guys, I might ask similar question, but I have more requirement this time. I need a VBA to do the following tasks.
1. Only save part of the worksheet (List) with a new workbook. Only the area highlighted in yellow need to save as a new workbook, start from the Cell A13. However, the range sometimes contain more or less data, and sometimes with blank space. So, I would like to only extract up to the last row of Column D (i.e., Column Name).
2. And save the new workbook in a specific folder with a specific name (=Cell B3) and password to open.
3. Email the new workbook. However, the subject and body of the email will change according to some cells (i.e., cell B4, cell B5, and cell B6 (please refer to the picture).
Please kindly advise. Thank you very much.
1. Only save part of the worksheet (List) with a new workbook. Only the area highlighted in yellow need to save as a new workbook, start from the Cell A13. However, the range sometimes contain more or less data, and sometimes with blank space. So, I would like to only extract up to the last row of Column D (i.e., Column Name).
2. And save the new workbook in a specific folder with a specific name (=Cell B3) and password to open.
3. Email the new workbook. However, the subject and body of the email will change according to some cells (i.e., cell B4, cell B5, and cell B6 (please refer to the picture).
Please kindly advise. Thank you very much.