As stated in this StackOverflow question, I would like to open a new Excel application every time I open an
*.xlsm file. I know this can be done launching
Excel /x from the start button, but I'd like to use the
/x when opening the mentioned file extension.
I already know I need the
FType commands for this, but it seems not to work. My current settings are:
Prompt>Assoc .xlsm .xlsm=Excel.SheetMacroEnabled.12 Prompt>ftype Excel.SheetMacroEnabled.12 Excel.SheetMacroEnabled.12="C:\Program Files (x86)\Microsoft Office\Root\Office16\EXCEL.EXE" "%1"
I already tried adding the "
/x" switch as follows:
...\EXCEL.EXE /x" "%1" ...\EXCEL.EXE" "/x" "%1" ...\EXCEL.EXE" "/x %1"
I've already tried launching Excel, using this command prompt, and it's working, so I should be close:
Prompt>"C:\Program Files (x86)\Microsoft Office\Root\Office16\EXCEL.EXE" /x C:\Temp_Folder\tralala.xlsm
Does anybody know how I can get this done?
Thanks in advance