Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 188
Default Move a workbook from one instance of excel applicaiton to another


Hi All,

Is there any way to move an workbook from one instance of the excel
application to another?

I have been looking at using the ByRef method of calling a sub in the
second instance from the first instance and using the workbook as the
argument ByRef, and then killing it in the first instance, but this
does not appear to work.

Any ideas would be most welcome.

Thanks,

Alan.

--
The views expressed are my own, and not those of my employer or anyone
else associated with me.

My current valid email address is:



This is valid as is. It is not munged, or altered at all.

It will be valid for AT LEAST one month from the date of this post.

If you are trying to contact me after that time,
it MAY still be valid, but may also have been
deactivated due to spam. If so, and you want
to contact me by email, try searching for a
more recent post by me to find my current
email address



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Move a workbook from one instance of excel applicaiton to another

You'll have to open the workbook in the same instance to run that macro.

But you could open it readonly, run the code, close without saving.

Alan wrote:

Hi All,

Is there any way to move an workbook from one instance of the excel
application to another?

I have been looking at using the ByRef method of calling a sub in the
second instance from the first instance and using the workbook as the
argument ByRef, and then killing it in the first instance, but this
does not appear to work.

Any ideas would be most welcome.

Thanks,

Alan.

--
The views expressed are my own, and not those of my employer or anyone
else associated with me.

My current valid email address is:



This is valid as is. It is not munged, or altered at all.

It will be valid for AT LEAST one month from the date of this post.

If you are trying to contact me after that time,
it MAY still be valid, but may also have been
deactivated due to spam. If so, and you want
to contact me by email, try searching for a
more recent post by me to find my current
email address


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 188
Default Move a workbook from one instance of excel applicaiton to another

"Dave Peterson" wrote in message

You'll have to open the workbook in the same instance to run that
macro.

But you could open it readonly, run the code, close without saving.

Alan wrote:

Hi All,

Is there any way to move an workbook from one instance of the excel
application to another?

I have been looking at using the ByRef method of calling a sub in

the
second instance from the first instance and using the workbook as

the
argument ByRef, and then killing it in the first instance, but this
does not appear to work.

Any ideas would be most welcome.

Thanks,

Alan.

--
The views expressed are my own, and not those of my employer or
anyone else associated with me.

My current valid email address is:



This is valid as is. It is not munged, or altered at all.

It will be valid for AT LEAST one month from the date of this post.

If you are trying to contact me after that time,
it MAY still be valid, but may also have been
deactivated due to spam. If so, and you want
to contact me by email, try searching for a
more recent post by me to find my current
email address


--

Dave Peterson



Okay - thanks Dave.


--
The views expressed are my own, and not those of my employer or anyone
else associated with me.

My current valid email address is:



This is valid as is. It is not munged, or altered at all.

It will be valid for AT LEAST one month from the date of this post.

If you are trying to contact me after that time,
it MAY still be valid, but may also have been
deactivated due to spam. If so, and you want
to contact me by email, try searching for a
more recent post by me to find my current
email address


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
Force excel to start new instance when I double-click a workbook [email protected][_2_] Excel Discussion (Misc queries) 0 April 30th 09 01:35 PM
viewing same instance of a workbook/worksheet via networked PC (O/ ms.macy Excel Discussion (Misc queries) 0 December 22nd 07 06:23 AM
Why can't you just Move a worksheet in Excel '07 to new workbook? Rania Excel Worksheet Functions 1 November 15th 07 08:51 PM
Load a range of cells into a dataset with an opened workbook instance. [email protected] Excel Programming 0 May 31st 05 04:32 PM
Providing for Applicaiton Update Wes Jester Excel Programming 0 August 26th 03 02:28 PM


All times are GMT +1. The time now is 01:54 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"