BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Excel Automation

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Shyam
Guest





PostPosted: Wed Sep 14, 2005 7:49 am    Post subject: Excel Automation Reply with quote




How can I Connect to already running excel Instance.I opened 2 instances of
Excel application.
I am using delphi 6 version . I have 2 excel running instances to send
answers from delphi application.
I need to send data to defferent running instances, for example, First.xls,
Second.xls excel
applications are running. I need to send the data to any of running excel
application. how can i do this.

I tried to use these methods

GetActiveOleObject('Excel.Application')
or ConnectTo()

it point to only first instance of excel application, I am able to get all
work books in that
application. But how to connect to specified running instance of excel
application.


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.