ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Help with SaveAs (https://www.excelbanter.com/excel-programming/324574-help-saveas.html)

Glen Mettler[_4_]

Help with SaveAs
 
I need to save and xls file as a tab delimited text file
This is my code:
ActiveWorkbook.SaveAs Filename:=filetosave, FileFormat:=xlText

is the default delimiter a tab or do I need to add another parameter?

Glen



Tom Ogilvy

Help with SaveAs
 
the fileformat includes the delimiter in this case.

--
Regards,
Tom Ogilvy

"Glen Mettler" wrote in message
...
I need to save and xls file as a tab delimited text file
This is my code:
ActiveWorkbook.SaveAs Filename:=filetosave, FileFormat:=xlText

is the default delimiter a tab or do I need to add another parameter?

Glen





Nigel

Help with SaveAs
 
The default for xlText is a Tab, so you do not need another parameter. Try
it and take a peek at the file using a wordprocessor.

--
Cheers
Nigel



"Glen Mettler" wrote in message
...
I need to save and xls file as a tab delimited text file
This is my code:
ActiveWorkbook.SaveAs Filename:=filetosave, FileFormat:=xlText

is the default delimiter a tab or do I need to add another parameter?

Glen






All times are GMT +1. The time now is 07:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com