How do I make an Office 2013/2016 application run in separate process on Microsoft Windows?
Asked Answered
C

2

7

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?

Chavaree answered 27/6, 2013 at 1:38 Comment(2)
you could state programming language you use in question tags. it could increase possibility of getting help. Add VBA, too, even you don't use it. Do it for the same reason.Yarborough
hopefully this will help you.Norri
G
12

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:

Option 1

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.

Option 2

  1. Right click on the Excel icon in Windows taskbar enter image description here
  2. Go down to where it lists the application enter image description here
  3. Hold down the ALT key on the keyboard and click "Excel 2013/2016"
  4. It should give you this prompt, "Do you want to start a new instance of Excel?" enter image description here
  5. Click "Yes!"

Option 3

Use this technique to open an existing document directly:

  1. Hold down Alt.
  2. Right click Excel file.
  3. Click Open.
  4. Continue holding down Alt until the "Do you want to start a new instance of Excel" dialogue pops up.
  5. Click Yes.

For more detail,please visit: http://sqlblog.com/blogs/marco_russo/archive/2012/07/24/running-excel-2013-in-a-separate-instance-excel-powerpivot.aspx

Gridiron answered 17/8, 2013 at 16:59 Comment(0)
E
-1

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.

Esoterica answered 26/3, 2018 at 14:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.