Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $wb = Win32::OLE->GetObject("z:\\data\\perl\\mogul\\sillysums2.xls"
    +);
    my $value = $wb->Sheets("Params")->Range("zReportTo")->{Value};
    print "$value\n";
    
  2. or download this
    use strict;
    use warnings;
    ...
    my $value = $wb->Sheets("Params")->Range("zReportTo")->{Value};
    print "$value\n";
    $xl->Close;