Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2006

Tip: Looking for answers? Try searching our database.

Workbook to Open a new excel Window

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jason Zischke - 22 Mar 2006 11:03 GMT
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
Martin - 22 Mar 2006 12:33 GMT
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

> Hi all,
>
[quoted text clipped - 4 lines]
>
> Jason Zischke
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.