How to open Excel in new instance?

dmadhup

Board Regular
Joined
Feb 21, 2018
Messages
146
Office Version
  1. 365
Hello,

I am using Office 365 and when I open two Excel file then it opens on the same instance. For some reason, I am looking to open in a separate instance.
Anyone has an idea how to achieve it. I appreciate your response.

Thank you!
 
Nice to know that we could help. Thanks for the responce!
 
Last edited:
Upvote 0

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Whenever I double-click the Excel file, it opens a new workbook and stays open. I wonder it happens on my PC even you have used code: Me.Close False

 
Upvote 0
I notice that Me.Close only close the read-only workbook not quit. And I can't use me.Quit

So, how can we exit the read-only workbook?


 
Upvote 0
Whenever I double-click the Excel file, it opens a new workbook and stays open. I wonder it happens on my PC even you have used code: Me.Close False
Just check if only this workbook is visible like this:
Rich (BB code):
Private Sub MyOpen()
  Dim oAddIn As AddIn, Wb As Workbook, i As Long
  ' Check if only this workbook is visible
  For Each Wb In Workbooks
    If Wb.Windows(1).Visible Then i = i + 1
    If i > 1 Then Exit For
  Next
  If i = 1 Then
    Call ShowUserForm
    Exit Sub
  End If
 
  ' Change access to read only
  ' ... the previous code ...
 
End Sub
Regards
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,179
Members
453,021
Latest member
Justyna P

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