Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Win32::OLE qw(in with);
    ...
    my $Doc = $Word->Documents->Open($textfile);
       $Doc->SaveAs({FileName => $outfile, FileFormat => wdFormatDocument}
    +);