Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use diagnostics;
    ...
    my $file = shift(@ARGV);
    my $Excel = Win32::OLE->GetActiveObject('Excel.Application') || Win32:
    +:OLE->new('Excel.Application', 'Quit');
    my $Book = $Excel->Workbooks->Open($file);
    
  2. or download this
    Win32::OLE(0.1502) error 0x800a03ec      in METHOD/PROPERTYGET "Open" 
    +at c:\perl\excel\TestRead.pl line 10