Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Windows; If (2003) MS Word or Excel are already executing?

by tokpela (Chaplain)
on Jun 03, 2010 at 03:19 UTC ( #842835=note: print w/ replies, xml ) Need Help??


in reply to Windows; If (2003) MS Word or Excel are already executing?

I think this node might help you.

You need to try to get the active object before you try to start another Excel instance.

my $Excel = Win32::OLE->GetActiveObject('Excel.Application') || Win32::OLE->new('Excel.Application', 'Quit');


Comment on Re: Windows; If (2003) MS Word or Excel are already executing?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://842835]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2015-07-03 16:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (53 votes), past polls