Vba Thisworkbook Save As. Once you start recording, save the file to the location you want, with the name you want, and then of course set the file type, most likely 'Excel Macro Enabled Workbook' ~ 'XLSM'. If you want to save as a workbook then SaveAs property to be used.
Here workbooks can be ActiveWorkbook, ThisWorkbook or a workbook assigned to an object. Here is the VBA code that uses ThisWorkbook. I hope these tips and macros help save you time when copying data between workbooks.
Both of these Methods will Save the a Workbook as it's existing name.
I hope these tips and macros help save you time when copying data between workbooks.
Below is the example of workbook save as. Working with ThisWorkbook in Excel VBA. Value '. add any other code before this line.