Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 about the Monastery: (10)
As of 2017-10-23 12:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (279 votes). Check out past polls.

    Notices?