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');
In reply to Re: Windows; If (2003) MS Word or Excel are already executing?
by tokpela
in thread Windows; If (2003) MS Word or Excel are already executing?
by gibsonca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |