Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default 2 excel application



there are 2 the number of excel applications. see the below.

you must open excel application as below.
''''''''''''''''''''''''''''''''''''''''''''
window start menu - run - excel - enter
once more,,
window start menu - run - excel - enter
''''''''''''''''''''''''''''''''''''''''''''
workbook in a first excel name is "controler.xls"
workbook in a second excel name is "controled.xls"

and then make a button in a worksheet in controler.xls.
And press the button and then must be appeared in message box with
"controled.xls is opend in the other excel application"

please, xl genius @@

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default 2 excel application

Take a look at this kb article:
http://support.microsoft.com?kbid=138621


tom taol wrote:

there are 2 the number of excel applications. see the below.

you must open excel application as below.
''''''''''''''''''''''''''''''''''''''''''''
window start menu - run - excel - enter
once more,,
window start menu - run - excel - enter
''''''''''''''''''''''''''''''''''''''''''''
workbook in a first excel name is "controler.xls"
workbook in a second excel name is "controled.xls"

and then make a button in a worksheet in controler.xls.
And press the button and then must be appeared in message box with
"controled.xls is opend in the other excel application"

please, xl genius @@

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default 2 excel application

Hi Tom,

The only way you can automate an instance of Excel that has been started
manually, is to use GetObject() function. Unfortunately, if there are two
instances of Excel that were both started manually, GetObject() can connect
to only one of them, not both, and there is no way to control which instance
it
will connect to.

I suggest you try to start both instances programmatically, using either early
or late binding. Only then can you connect to two separate instances of Excel.


Regards,
Vic Eldridge



"tom taol" wrote:



there are 2 the number of excel applications. see the below.

you must open excel application as below.
''''''''''''''''''''''''''''''''''''''''''''
window start menu - run - excel - enter
once more,,
window start menu - run - excel - enter
''''''''''''''''''''''''''''''''''''''''''''
workbook in a first excel name is "controler.xls"
workbook in a second excel name is "controled.xls"

and then make a button in a worksheet in controler.xls.
And press the button and then must be appeared in message box with
"controled.xls is opend in the other excel application"

please, xl genius @@

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

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
Excel VB application Neil Jones Excel Discussion (Misc queries) 4 April 30th 10 06:57 AM
Application/vnd.ms-excel Henry R Excel Discussion (Misc queries) 0 January 22nd 06 02:32 AM
macro to close excel application other than application.quit mary Excel Programming 1 September 14th 04 03:43 PM
Excel Application needs a DLL Bill[_20_] Excel Programming 1 January 28th 04 04:14 AM
application.quit will not shut off application john Excel Programming 0 January 9th 04 11:29 PM


All times are GMT +1. The time now is 05:27 AM.

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"