PC Review


Reply
Thread Tools Rate Thread

Add Workbook As Seperate Window

 
 
George Lee
Guest
Posts: n/a
 
      11th Jul 2008
I would like to open a new workbook in a separate window. I have set up Excel
to do this when you double click a file to open but when doing it
programmatically, it always opens inside the activeworkbook. How can a new
workbook be added in a separate window? Excel 2003/Windows XP.

Dim targetWorkbook As Workbook
Set targetWorkbook = Application.Workbooks.Add

 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      12th Jul 2008
If you give the TargetWorkbook a name and then save it, it should then be a
separate window from the workbook that was active when the new one was
created. Otherwise, I would think maybe opening a secon instance of Excel
might be what you are after.

"George Lee" wrote:

> I would like to open a new workbook in a separate window. I have set up Excel
> to do this when you double click a file to open but when doing it
> programmatically, it always opens inside the activeworkbook. How can a new
> workbook be added in a separate window? Excel 2003/Windows XP.
>
> Dim targetWorkbook As Workbook
> Set targetWorkbook = Application.Workbooks.Add
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Excel open each workbook in a seperate window JVC Dude Microsoft Excel Setup 2 15th Jan 2005 01:01 AM
comapring 2 seperate workbook ifew552 Microsoft Excel Misc 1 10th Jun 2004 01:08 AM
Named Ranges in Seperate Workbook tbieri Microsoft Excel Charting 2 9th Jun 2004 06:02 PM
Re: macro on a seperate workbook Dave Peterson Microsoft Excel Worksheet Functions 0 31st Aug 2003 03:25 AM
macro on a seperate workbook Jim Microsoft Excel Worksheet Functions 3 31st Aug 2003 03:04 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:46 AM.