Help for this page

Select Code to Download


  1. or download this
    use strict;
    use OLE;
    ...
    my $excel = CreateObject OLE "Excel.Application";
    my $wrkbk = $excel -> Workbooks -> Open("C:/File.xls");
    $excel -> {Visible} = 1;
    
  2. or download this
    use strict;
    use OLE;
    ...
    my $word = CreateObject OLE "Word.Application";
    my $doc  = $word -> Documents -> Open("C:/File.doc");
    $word -> {Visible} = 1;