in reply to HOW to call a Excel Macro subroutine from perl

Perl and MS-Excel macroes


hmmm ....let me think what did I said
  • Comment on Re: HOW to call a Excel Macro subroutine from perl

Replies are listed 'Best First'.
Re^2: HOW to call a Excel Macro subroutine from perl
by marlboroguy58 (Novice) on Apr 10, 2007 at 06:36 UTC
    hi, tried it...It works...thanx... i feel that i didn't know what was the problem.. thanx again
Re^2: HOW to call a Excel Macro subroutine from perl
by marlboroguy58 (Novice) on Apr 10, 2007 at 08:53 UTC
    with regards to excel i m having another problem the same script after populating the data and saving, and closing the workbook, will populate another workbook. When it tries to do that i get the following error
    Win32::OLE(0.1701) error 0x8001010a: "The message filter indicated tha +t the application is busy" in METHOD/PROPERTYGET "" at populator.pl line 17
    the script will create an excel object for every file it will open..is this wrong? do i need to destroy the object?
      marlboroguy58:

      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:

      $XL = ExcelObject(...) unless $XL;
      ...roboticus
        works! thanx a lot enlightened one.