107
29
When I have Excel running and I double click an Excel file in Windows explorer, I'd like it to launch in a new window by default so that I can move documents to separate monitors. Is there any way to get this behavior?
107
29
When I have Excel running and I double click an Excel file in Windows explorer, I'd like it to launch in a new window by default so that I can move documents to separate monitors. Is there any way to get this behavior?
90
I've had this problem too. Here's what I did:
In Excel 2003, go to Tools -> Options -> General tab.
Make sure the option, ‘Ignore other applications’ is checked.
In Excel 2007 & 2010, Click the Office button -> Excel Options -> Advanced.
Under General, check ‘Ignore other applications that use Dynamic Data Exchange’.
I don't know why this isn't built in. Source: http://www.lytebyte.com/2008/05/13/how-to-open-two-excel-files-side-by-side-in-separate-monitors/
19
It's a bit back to front, and will work for any program not just Excel, but I middle-mouse-button click the Excel icon in the Windows 7 Taskbar and create a new instance of Excel, then open the documents in each instance of Excel.
Once your have multiple instances of Excel running you can arrange them side by side by holding down Shift and right clicking on the icon:
4I was unaware that middle-click opened a new instance! I skipped this answer at first but it really is clever! – Nathan Goings – 2016-05-13T17:56:01.887
13
There are certain disadvantages to having all your workbooks opened in different windows. For one thing, if you write a formula in one workbook which references another, it will include the full file path of the other workbook. For another, copy/pasting from one workbook to another reduces the number of options available for the destination data, like keeping the column widths, etcetera. It's possible that for your purposes those things won't matter much, but basically if you experience any "weird" behavior when using multiple workbooks in multiple windows, you might try opening them in the same window to see if the weirdness goes away.
My preference is to leave the default behavior to open Excel workbooks in the same window, and when I want individual workbooks opened in different windows I right-click the file and select "Open in new window". In order to do that, I wrote this small utility. It's free. Feel free to install it.
1And now there's a better option: Just update to Excel 2016. Not free, but cures your headache from 2013. – TJJ – 2017-03-23T10:10:12.563
I don't think your utility, as simple as it seems, would work if I'm opening Excel files from Outlook, right? Assuming the answer is "correct", then what would be REALLY nice is to have files that normally open in Excel actually open in a "hidden" application that can then either open the file in a new instance or somehow detect (eg SHIFT key held down?) that I want to open in an existing instance, and then if there's more than one instance, ask me which one. If you can do that, I'd buy it (for a fair price). – Michael Bray – 2013-03-27T21:02:06.103
You are correct: the utility will not work directly from Outlook. Your suggestion is interesting. But implementing it would make my utility way more invasive and resource intensive than I ever intended it to be. – Nick Spreitzer – 2013-03-28T02:57:04.517
10
I followed the guide published here.
In short:
HKEY_CLASSES_ROOT/Excel.Sheet.12/shell/Open/command
(Default)
, select Modify...
, append a space followed by "%1"
(including quotes)command
into command2
command
folder (whose name is left untouched),ddeexec
into ddeexec2
HKEY_CLASSES_ROOT/Excel.Sheet.8/shell/Open/command
HKEY_CLASSES_ROOT/Excel.CSV/shell/Open/command
This worked for Microsoft Excel 2007. In case of update you might have to repeat these steps.
I personally liked this manual approach because is reversible. With respect to some of the other proposed solutions, I love the fact that you can so easily open 2 files with the same name.
I would say this is the most effective method. Works in Excel 2010. Thanks! – Bill Stidham – 2017-02-17T16:16:22.267
Even more effective (because it doesn't destroy copy&paste functionality): Update to Excel 2016. – TJJ – 2017-03-23T10:11:10.523
This worked for me for Excel 2007. – Varun Sharma – 2019-05-15T00:06:10.843
6
Excel 2007: If you have access to edit your windows registry, here are a few registry files that add the option to open in a new instance (either by default or not) when you right-click on your files so you can use both functionalities.
There is a .reg file to 'uninstall' it as well. Tried and tested in excel 2007 (32-bits windows). I believe the technique is the same as in hyperslug's answer: DDE or not.
Now that's much better! I just had to add "(x86)" to the paths in the registry file since I run on 64bit. – David Schmitt – 2010-01-25T14:56:57.700
Too bad, the zip file containing the scripts referred in that post is now lost... – Antonio – 2015-10-01T19:30:50.460
1
@Antonio I seem to have them still lying around, but it's missing one (to remote it from context menu) and I have not tested it on newer excel versions, so use at your own risk. https://mega.nz/#%21sANxXZiS%21DM_DsD6gqiHBEUhCW7Q_7DMNy0SNHrwk8Xi4l45iVO4
– mtone – 2015-10-01T19:32:02.0875
Since hyperslug's answer didn't work for me, I followed "Option B" from his link and now open a new (empty) Excel from the start menu and drag'n'drop the file I want to open into the new window.
Simple, but works - thanks, David. Unbelievable that something this simple needs to be made so difficult and counter-intuitive. – Amos M. Carpenter – 2015-08-07T03:41:06.247
5
In Office 2013 they solved this issue. Each workbook is in its own window in Office 2013.
2Each book has its own window, but they all still belong to the same instance of Excel (which can be highly confusing when you have code that wants to work with multiple opened workbooks). – GSerg – 2013-11-06T11:27:21.143
3
Here's another set of registry files I (which I created) to solve the same problem: http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_1007-Option-to-open-excel-2007-documents-in-a-new-instance.html?sfQueryTermInfo=1+30+excel+instanc+new
Gives a right click menu to open excel files in a new instance, and optionally makes it the default behavior, but still leaves the option to open it in an existing instance if the workbooks need cutting and pasting with formatting between them.
2
Microsoft has patched this already. You can download the patch here:
Running the patch does everything being said in the "Let me fix it myself" section.
This should be the accepted answer. – Öskå – 2017-02-21T07:40:19.060
No, it should not. Because it doesn't fix the copy&paste problem between the two instances. There is no real fix for the problem. Only one solution: Update to Excel 2016. – TJJ – 2017-03-23T10:14:35.127
Copy paste works. It will obviously not paste relative links to data. BTW, Office has tendency to break the stuff over time so patch this patch again. – lockhrt – 2017-03-24T12:12:38.973
I applied this patch, and it worked for a couple weeks. Then it stopped working, and I had to apply the patch again. – pacoverflow – 2017-10-06T14:36:37.923
2
finally one regedit instruction that works for my windows 7 and excel 2010
To launch multiple instances of Excel, we change it by not using DDE to open the file. Check the "Ignore other applications that use Dynamic Data Exchange (DDE)" box in Excel -> Excel Options -> Advanced
If this does not work,for Windows Vista and Windows 7, we need to edit the registry to remove DDE completely. =============== Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs.
- Click Start, in the Search box, type regedit and press Enter.
- Locate the registry subkey: HKEY_CLASSES_ROOT\Excel.Sheet.14\shell\Open
- Delete the ddeexec subkey.
- Click on the command subkey, and then double-click the Default value from the right pane. Replace the value data with: "C:\Program Files\Microsoft Office\OFFICE14\EXCEL.EXE" "%1" Double-click the Command string value, replace its data with: (f'^Vn-}f(ZXfeAR6.jiEXCELFiles>!De@]Vz(r=f
1lfq
?R& "%1"
Thank you to sally tang , on this forum https://social.technet.microsoft.com/Forums/office/en-US/ee76d08d-3306-406d-894c-16fd3cb824d9/each-workbook-in-separate-windows-excel-2010-windows-7?forum=excel
This sounds like basically the same method as detailed here: http://dottech.org/26491/how-to-force-microsoft-excel-to-open-files-in-new-window-how-to-guide/. Repeat on the other various Excel.X entries to get all the possible files that Excel likes to open (CSV, xls, etc.)
– Ben – 2015-06-19T16:36:49.867This isn't working for me. I only get a message saying "[filename].xlsx The parameter is incorrect." – zr00 – 2017-10-20T16:19:36.673
2
Another solution is to merge a .reg
file with the following content into Window's registry (change the path to EXCEL.EXE
according to the version and installation path you have and add any additional file types you want to remap (Excel.Sheet.12
is for .xlsx
files and Excel.Sheet.8
is for .xls
files)):
(You may want to back up your existing HKEY_CLASSES_ROOT\Excel.Sheet.12
and HKEY_CLASSES_ROOT\Excel.Sheet.8
branches (via regedit.exe
's export) in case you want to revert this change.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Excel.Sheet.12]
[HKEY_CLASSES_ROOT\Excel.Sheet.12\shell]
@="Open"
[HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Edit]
[HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Edit\command]
@="\"C:\\Program Files (x86)\\Microsoft Office\\Office14\\EXCEL.EXE\" \"%1\""
command=-
[-HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Edit\ddeexec]
[HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open]
[HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\command]
@="\"C:\\Program Files (x86)\\Microsoft Office\\Office14\\EXCEL.EXE\" \"%1\""
command=-
[-HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\ddeexec]
[HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\OpenAsReadOnly]
[HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\OpenAsReadOnly\command]
@="\"C:\\Program Files (x86)\\Microsoft Office\\Office14\\EXCEL.EXE\" /r \"%1\""
command=-
[-HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\OpenAsReadOnly\ddeexec]
[HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\ViewProtected]
[HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\ViewProtected\command]
@="\"C:\\Program Files (x86)\\Microsoft Office\\Office14\\EXCEL.EXE\" \"%1\""
command=-
[-HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\ViewProtected\ddeexec]
[HKEY_CLASSES_ROOT\Excel.Sheet.8]
[HKEY_CLASSES_ROOT\Excel.Sheet.8\shell]
@="Open"
[HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Edit]
[HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Edit\command]
@="\"C:\\Program Files (x86)\\Microsoft Office\\Office14\\EXCEL.EXE\" \"%1\""
command=-
[-HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Edit\ddeexec]
[HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open]
[HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open\command]
@="\"C:\\Program Files (x86)\\Microsoft Office\\Office14\\EXCEL.EXE\" \"%1\""
command=-
[-HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open\ddeexec]
[HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\OpenAsReadOnly]
[HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\OpenAsReadOnly\command]
@="\"C:\\Program Files (x86)\\Microsoft Office\\Office14\\EXCEL.EXE\" /r \"%1\""
command=-
[-HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\OpenAsReadOnly\ddeexec]
[HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\ViewProtected]
[HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\ViewProtected\command]
@="\"C:\\Program Files (x86)\\Microsoft Office\\Office14\\EXCEL.EXE\" \"%1\""
command=-
[-HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\ViewProtected\ddeexec]
If, after applying this file, you want to open another file in the same window, use the file menu to open another file and it will open in the current window.
1
This thread is old, but the problem is persistent! Hyperslugs solution didn't work for me, but I found a nifty launcher application that middle-mans the opening of excel documents and forces new instances. It can be found here http://blog.thomascsherman.com/2010/06/opening-excel-files-in-new-processes-excel-launcher-helper-app/ . I hope this helps someone with this annoying problem.
1
I use Excel 2010, and wanted to open a new instance for the purpose of being able to easily switch between spreadsheets. I use Alt+Tab which doesn't work with excel's default settings. If this is the main reason you wish to open a new instance for each spreadsheet, it can be resolved by;
This makes it easier to switch between spreadsheets, but if you're looking to view two spreadsheets simultaneously (i.e. if you have multiple monitors) you will still have to open a new instance of excel and open the file from within that instance.
0
Disabling DDE seems like the best option, but as others have pointed out, that causes Excel to open a blank window when you try to open a spreadsheet through Windows Explorer. If you usually open spreadsheet through Windows Explorer, I found that the best option is to re-associate the extensions and specify your own command.
To do that, open command prompt as an administrator and run the following commands (modifying the path to match your Office install):
C:\WINDOWS\system32>FTYPE XLSX.FILETYPE="C:\Program Files (x86)\Microsoft Office\Office14\Excel.exe" "%1"
C:\WINDOWS\system32>ASSOC .xlsx=XLSX.FILETYPE
C:\WINDOWS\system32>FTYPE XLSM.FILETYPE="C:\Program Files (x86)\Microsoft Office\Office14\Excel.exe" "%1"
C:\WINDOWS\system32>ASSOC .xlsm=XLSM.FILETYPE
This will cause a new window to open whenever you double-click an Excel file. It also fixes the behavior when you right-click the Excel icon and select a recent spreadsheet. However, it will not fix the behavior when you open a spreadsheet through the Open dialog in Excel -- those will still open in the same window.
NOTE: If you place the above commands in a batch file, you will need to use "%%1"
in place of "%1"
.
I ran into the problem described in the "Note" to "Option A", described in the lbog post. Still +1 for saving me more time to search for a workaround of this braindead behaviour! – David Schmitt – 2010-01-25T14:12:47.677
Doesn't work - still opens in the same window (Office 2010 x86, Windows 7 x64), this solution however works: http://dottech.org/26491/how-to-force-microsoft-excel-to-open-files-in-new-window-how-to-guide/
– Danny – 2014-11-30T13:11:02.170Wow, that link works much better! The guide only covers .xls and .xlsx files (the Excel.Sheet8 and Excel.Sheet12 registry entries in the guide) but it is easy enough to apply to all the other Excel.X entries. – Ben – 2015-06-19T16:35:52.987
Works well for me on WIn 7 / Office 2010. Apparently this is unnecessary in Office 2013. – John Melville – 2015-11-12T16:11:38.623
1In Office 2007, after doing this, when I click on the Start Menu then the little down arrow, next to Excel to pick one of my recent files, it opens Excel and throws the error "There was a problem sending the command to the program."
It does allow me to open multiple windows, it just appears to break the ability to open recent files as easily from the Start menu. – Kris – 2016-01-19T21:49:55.110
It works. But you can't use the same options when copy&pasting between the two documents. – TJJ – 2017-03-23T10:08:25.173
Hmmm... didn't work for me (Office 2010/Win7) - clicking on a file still opened it in an existing instance. – CJM – 2017-07-17T10:03:00.470
8Wow! How unobvious is that? – RBarryYoung – 2009-08-16T18:50:16.147
10Why didn't they just call the option "jowfeio woif who82r wcjnmwvo 902r3hj2 w082f8"? it would have been more obvious! If I could +5 this answer, I would. Nay, I would +10 it. THANK YOU THANK YOU!!! – Michael Bray – 2012-03-08T17:14:58.183
7I signed up for a super user account just to upvote this answer. Thank you! – Neil Vass – 2012-11-01T13:51:25.860
40Didn't work for me (Office 2010 & Win 7). When I check the option, I can't open any Excel files:
There was a problem sending the command
or something similar. – Nolonar – 2013-04-22T16:14:49.627OMG! I Adore you goshhh!!!! thank you.. xo xo – Luiscencio – 2013-06-05T16:50:12.840
Yet another "feature" that slams down productivity. I really want to see users drinking water in the usability lab. With a spoon, probably. Btw, from a technical standpoint, diabling DDE is a logical solution. Just not exactly intuitive :O – TheBlastOne – 2013-08-14T18:22:32.937
Awesome!!!! You are a star... @RBarryYoung: totally, perhaps that should be in the main window? Also, we should be able to filter those settings with a search box – Chris – 2009-12-04T21:50:58.073
18
This answer should not be used. See When I double-click an Excel spreadsheet, Excel opens but the document doesn't as for why. Also see this answer.
– GSerg – 2013-11-06T11:23:28.520