Workbook to Open a new excel Window

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

Is there a way to get a workbook to open in a new excel window rather then
one that is open?

Thanks in Advance

Jason Zischke
 
This should do it (make sure M/soft Excel Object Library is ticked in Tools,
References but it should be if you're in Excel already):

Sub OpenInNewExcel()
Dim myExcel As New Excel.Application
myExcel.Workbooks.Open ("[path to your file]")
myExcel.Visible = True
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Open Excel 3
Load forms from another workbook 2
Toolbars 2
Excel Protection 2
Screen Resolution 2
Error Checking 1
Unwanted workbooks on startup 2
Excel is removing Macros from workbook 3

Back
Top