I've seen some posts on how to save a file as macro-free workbook. But all of them result in currently open file becoming the new one.
What I need:
1. run the macro in currently opened xlsm file
2. save entire workbook (multiple sheets) as xlsx (macro-free), without opening xlsx - I don't want to see the new file, it's stored elsewhere as a 'result'.
3. continue to work in xlsm where user will run another macro later on.
Additional requirements:
- formulas must stay, so copying and pasting as values is not an option
- formulas can't reference to xlsm, so standard copying of worksheets is not an option either, as it keeps the external link/reference instead of internal one
What I need:
1. run the macro in currently opened xlsm file
2. save entire workbook (multiple sheets) as xlsx (macro-free), without opening xlsx - I don't want to see the new file, it's stored elsewhere as a 'result'.
3. continue to work in xlsm where user will run another macro later on.
Additional requirements:
- formulas must stay, so copying and pasting as values is not an option
- formulas can't reference to xlsm, so standard copying of worksheets is not an option either, as it keeps the external link/reference instead of internal one