Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Opening Multiple Sessions of Excel

I have an Excel workbook which uses advanced user forms. The 1st step that
takes place when the workbook is opened is to activate the 1st user form and
load it with data. The problem is that if another unrelated workbook is
opened prior to my opening this workbook, the latter one takes over control
and I can't access the 1st one. Or if I open the workbook in question 1st
and then attempt to open another workbook, it doesn't happen. The
(ALT)+(TAB) method doesn't work either. If I open up both through the
Start/Programs/Microsoft Office/Excel method, then I have access to both in
two separate sessions, which is what I want. How can I do this
programmatically? Thanks!!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Opening Multiple Sessions of Excel

use createobject to open each in a separate session.

--
Regards,
Tom Ogilvy


"Pietersz" wrote:

I have an Excel workbook which uses advanced user forms. The 1st step that
takes place when the workbook is opened is to activate the 1st user form and
load it with data. The problem is that if another unrelated workbook is
opened prior to my opening this workbook, the latter one takes over control
and I can't access the 1st one. Or if I open the workbook in question 1st
and then attempt to open another workbook, it doesn't happen. The
(ALT)+(TAB) method doesn't work either. If I open up both through the
Start/Programs/Microsoft Office/Excel method, then I have access to both in
two separate sessions, which is what I want. How can I do this
programmatically? Thanks!!!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Opening Multiple Sessions of Excel

Tom - Thanks for the response. This solution does allow me to create another
Excel object but the workbook with the advanced userforms still takes over
control. What the end user of this tool would like for me to do
programatically is get the same result that happends when one does
Start/Programs/Microsoft Office/Excel. This opens an entirely seperate
instance of excel (one workbook per session). Is that possible to do?
Thanks.

"Tom Ogilvy" wrote:

use createobject to open each in a separate session.

--
Regards,
Tom Ogilvy


"Pietersz" wrote:

I have an Excel workbook which uses advanced user forms. The 1st step that
takes place when the workbook is opened is to activate the 1st user form and
load it with data. The problem is that if another unrelated workbook is
opened prior to my opening this workbook, the latter one takes over control
and I can't access the 1st one. Or if I open the workbook in question 1st
and then attempt to open another workbook, it doesn't happen. The
(ALT)+(TAB) method doesn't work either. If I open up both through the
Start/Programs/Microsoft Office/Excel method, then I have access to both in
two separate sessions, which is what I want. How can I do this
programmatically? Thanks!!!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Opening Multiple Sessions of Excel

Yes, that is exactly what createobject does.

--
Regards,
Tom Ogilvy



"Pietersz" wrote in message
...
Tom - Thanks for the response. This solution does allow me to create

another
Excel object but the workbook with the advanced userforms still takes over
control. What the end user of this tool would like for me to do
programatically is get the same result that happends when one does
Start/Programs/Microsoft Office/Excel. This opens an entirely seperate
instance of excel (one workbook per session). Is that possible to do?
Thanks.

"Tom Ogilvy" wrote:

use createobject to open each in a separate session.

--
Regards,
Tom Ogilvy


"Pietersz" wrote:

I have an Excel workbook which uses advanced user forms. The 1st step

that
takes place when the workbook is opened is to activate the 1st user

form and
load it with data. The problem is that if another unrelated workbook

is
opened prior to my opening this workbook, the latter one takes over

control
and I can't access the 1st one. Or if I open the workbook in question

1st
and then attempt to open another workbook, it doesn't happen. The
(ALT)+(TAB) method doesn't work either. If I open up both through the
Start/Programs/Microsoft Office/Excel method, then I have access to

both in
two separate sessions, which is what I want. How can I do this
programmatically? Thanks!!!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple excel sessions rita Excel Discussion (Misc queries) 2 June 30th 09 07:37 AM
Copy and paste over multiple sessions error Brad Excel Discussion (Misc queries) 0 January 4th 08 08:10 PM
Opening Multiple Excel Sessions Lynn Excel Discussion (Misc queries) 4 March 1st 07 01:07 PM
Retrieve data from multiple Excel sessions JessK Excel Programming 1 March 27th 06 09:42 PM
Multiple Excel Sessions tjh Excel Programming 2 November 22nd 05 12:17 AM


All times are GMT +1. The time now is 05:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"