Thanks for your feedback, this helped me save my .xls file as a tab delimited text file. The link to the MSDN Excel 2007 doc is very helpful. Sorry about the formatting, let me know if there are any more issues. I also would like to thank graff and cbu for their reply. After spending upwards of three days trying to figure this out, I should have asked a question sooner. Hopefully I can become proficient at Perl enough to help others. A modest donation has been sent to the Perl Monks. I did run into an issue where a dialog prompt comes up asking if I want to save the .txt file. I remembered another question I came across while trying to solve the format issue and was able to leverage off of it to eliminate the dialog prompt by adding "$Excel->{DisplayAlerts} = "False";" to the script. <s # Saves C:\\work\\perl_WinOle\\sym_text_testdoc.xls as a text or # MSDOS text formatted document. (Tab delimited) use Win32; use Win32::OLE qw(in with); use Win32::OLE::Const 'Microsoft Excel'; #$file = "C:\\work\\perl_WinOle\\test.csv"; $OutFile = "C:\\work\\perl_WinOle\\sym_text_testdoc.txt"; my $Excel = Win32::OLE->new('Excel.Application', 'Quit'); my $xl = Win32::OLE::Const->Load($Excel); #$Excel->{'Visible'} = 1; # if you want to see what's going on my $Book = $Excel->Workbooks->Open( "C:\\work\\perl_WinOle\\sym_text_t +estdoc.xls" ); $Book->Activate(); $Excel->{DisplayAlerts} = "False"; $Book->SaveAs($OutFile, xlTextMSDOS); #$Excel->{DisplayAlerts} = "False"; $Book->Close(); $Excel->Quit(); e> Thanks for your help and have a great weekend. Steve Bell

In reply to Re^2: Saving Excel file in Tab delimeted text or .csv by steveb94553
in thread Saving Excel file in Tab delimeted text or .csv by steveb94553

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.