How Do I move a Spreadsheet to a New Instance of Excel

gambit023

New Member
Joined
Jul 14, 2009
Messages
29
Is there a way to move an already open spreadsheet to another instance of Excel?

I'm running Excel 2007.


Thanks in advance!
 
Personally, I'd go with stretching the app though!
 
Upvote 0

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
The MDI interface on Excel leaves much to be desired.
Is there a way to move an already open spreadsheet to another instance of Excel?

I'm running Excel 2007.


Thanks in advance!

Try something like this:

Code:
Sub NewInstance()
    Set objExcel = CreateObject("Excel.Application")
    objExcel.Visible = True
    objExcel.Workbooks.Open ("W:\MyDir\MyFile.xls")
End Sub

You'll want to pull the workbook name ("W:\MyDir\MyFile.xls" in this example) of the current file and close it in the original instance before you open it in the new instance to not be in read only mode.
 
Upvote 0
This should work... :eek:
Code:
Sub NewInstance()
    Dim sCurFile As String
    sCurFile = ActiveWorkbook.FullName
    ActiveWorkbook.Close
    Set objExcel = CreateObject("Excel.Application")
    objExcel.Visible = True
    objExcel.Workbooks.Open (sCurFile)
End Sub
 
Upvote 0
This should work... :eek:
Code:
Sub NewInstance()
    Dim sCurFile As String
    sCurFile = ActiveWorkbook.FullName
    ActiveWorkbook.Close
    Set objExcel = CreateObject("Excel.Application")
    objExcel.Visible = True
    objExcel.Workbooks.Open (sCurFile)
End Sub


I know this is an old thread, but just wanted to say I was having the same frustration of having 2 excel files open in the same instance and wanting to move one to a separate instance without having to manually close and the open the file in a new instance. This suggestion seems to have worked perfectly!
 
Upvote 0

Forum statistics

Threads
1,216,165
Messages
6,129,242
Members
449,496
Latest member
Patupaiarehe

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top