Forum Discussion
aekbus
Jun 12, 2026Brass Contributor
Excel Macro Creating a New Macro Enabled Spreadsheet
I have a macro enabled spreadsheet. I have a macro in this spreadsheet that is trying to create another macro enabled spreadsheet. I can create this new spreadsheet and save it as a .xlsm file. Ho...
- Jun 12, 2026
Afternoon AEKBUS,
Before you exit the newly created sheet, use a variable to get the active window caption (or workbook name) "V = ActiveWindow.Caption"
MKoski
Jun 12, 2026Brass Contributor
Afternoon AEKBUS,
Before you exit the newly created sheet, use a variable to get the active window caption (or workbook name) "V = ActiveWindow.Caption"
- aekbusJun 12, 2026Brass Contributor
Thank you very much for your answer. I knew it had to be a simple solution, but I am not very familiar with the vocabulary.