Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 perusing the Monastery: (9)
As of 2018-02-20 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (271 votes). Check out past polls.

    Notices?