How Do I Get An Excel File to Open in A Seperate Excel Progm

amarshall

New Member
Joined
Jan 7, 2004
Messages
7
I have a few excel files that will not run while in the same excel program. How do I get each file to open in its own seperate excel program?

Cheers
Andrew
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Re: How Do I Get An Excel File to Open in A Seperate Excel P

Put this code before your open code, it will start a new session window with Excel in it.

Sub myStart()

ReturnValue = Shell("c:\Program Files\Microsoft Office\Office10\EXCEL.EXE", 1)
AppActivate ReturnValue
End Sub
 
Upvote 0
Re: How Do I Get An Excel File to Open in A Seperate Excel P

Thanks I'll try that. Is there a way to right click on a file and change the properties of it to open in a seperate excel.exe?
 
Upvote 0
Re: How Do I Get An Excel File to Open in A Seperate Excel P

The old versions had startup switches that could be used but MS has gotten away from building them in, some time ago!

I have not come accross a way other than by code!
 
Upvote 0
Re: How Do I Get An Excel File to Open in A Seperate Excel P

If all you want to do is start up a separate independent instance of XL, no need for VBA. Just double-click the (or select from the Start menu) the XL program.

That said, you may want to examine why these files cannot co-exist in the same instance of XL. There are very -- very -- few instances where one needs a separate instance of XL for each file.

amarshall said:
I have a few excel files that will not run while in the same excel program. How do I get each file to open in its own seperate excel program?

Cheers
Andrew
 
Upvote 0

Forum statistics

Threads
1,214,875
Messages
6,122,037
Members
449,062
Latest member
mike575

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