Help for this page

Select Code to Download


  1. or download this
                                                                          
    +                                                                     
    +                       
    #should save C:\\work\\perl_WinOle\\sym_text_testdoc.xls as
    #       a text or csv formatted document.
    #    creates a file with .txt or csv extension, but
    #       document is not a tab or comma delimeted text file.
    
  2. or download this
    use Win32;
    use Win32::OLE qw(in with);
    ...
    $Book->Activate();
    $Book->SaveAs($OutFile);
    $Book->Close;
    
  3. or download this
    $document->SaveAs($txt, wdFormatText);
  4. or download this
    $book->SaveAs($txt, excelFormatText);