It's rather difficult to find the error without seeing the code. My best (blind) guess would be that you should simply skip the creation of the excel object after the first invocation. Something like:
...roboticus$XL = ExcelObject(...) unless $XL;
In reply to Re^3: HOW to call a Excel Macro subroutine from perl
by roboticus
in thread HOW to call a Excel Macro subroutine from perl
by marlboroguy58
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |