Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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');

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://842835]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2016-12-06 01:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (96 votes). Check out past polls.