I am developing a Excel plugin. It works all right for Excel versions before 2013. But a lot of features is broken when it runs against Excel 2013. I found the root cause is all windows are running in only one process in Excel 2013. Even if user explicitly launch a new window by double-clicking the shortcut on the desktop or by clicking the item in the start menu, no new process is created.
This results in the status conflict between processes. Status bar and ribbon is shared. For instance, when I update the status bar information in one window, the other windows’ are also updated. When I check/uncheck a ribbon button in one window, the other windows’ buttons are also checked/unchecked.
I think a possible solution is to change some configurations to make it work as before. But I found nothing relevant by searching on google.
Does anyone know how to make it or is there any other solution?
With Excel 2013, the default you have is to create a new window within the existing Excel process. In order to force the creation of a separate instance of the Excel process, you have these options:
From the command prompt, run EXCEL /X and you will open Excel window as a new instance. The /X command switch forces the creation of a new instance.
- Right click on the Excel icon in Windows taskbar
- Go down to where it lists the application
- Hold down the ALT key on the keyboard and click “Excel 2013/2016”
- It should give you this prompt, “Do you want to start a new instance of Excel?”
- Click “Yes!”
Use this technique to open an existing document directly:
- Hold down Alt.
- Right click Excel file.
- Click Open.
- Continue holding down Alt until the “Do you want to start a new instance of Excel” dialogue pops up.
- Click Yes.
For more detail,please visit:
re. “Right click on the Excel Tab in Windows taskbar keeping the ALT key pressed“
-This option is not available in Windows 10 with Excel 2016.
However, the Excel /X option works and a second change-undo buffer is created, as noted above, in the new process.