Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 musing on the Monastery: (4)
As of 2015-02-27 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    On my keyboard, Caps lock is:








    Results (443 votes), past polls