TC does not honor "/x" parameter when opening Excel file when dropping file on panel button
Posted: 2020-08-29, 12:53 UTC
I have a button on panel which calls Excel 2016 with "/x" argument. This argument makes Excel run in separate process, so that other Excel workbooks won't "see" my new book. Here's my button.
What I do: I drag Excel file onto this button.
After that Excel fires up and opens my file. But it's not in separated process. One could argue that I can't verify it since beginning from Office 2013+ there is one EXE process for each file and thus I can't understand that file is in another process since I will see TWO "EXCEL.EXE" processes. But there's a way to tell that one file doesn't see another: you just need to copy some range in one book, go to that newly opened workbook and call out right-click menu there. If there are 3 buttons - then workbook is in another process. Otherwise, if there are 6 buttons - files are in one process.
What I do: I drag Excel file onto this button.
After that Excel fires up and opens my file. But it's not in separated process. One could argue that I can't verify it since beginning from Office 2013+ there is one EXE process for each file and thus I can't understand that file is in another process since I will see TWO "EXCEL.EXE" processes. But there's a way to tell that one file doesn't see another: you just need to copy some range in one book, go to that newly opened workbook and call out right-click menu there. If there are 3 buttons - then workbook is in another process. Otherwise, if there are 6 buttons - files are in one process.