Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default 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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default 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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SaveAs - VBA Jae[_3_] Excel Discussion (Misc queries) 4 April 10th 08 08:10 PM
SaveAs - VBA Jae Excel Discussion (Misc queries) 0 April 10th 08 06:04 AM
SaveAs Stan Halls Excel Worksheet Functions 5 November 28th 06 07:51 PM
Saveas Dale Levesque Excel Programming 6 May 5th 04 04:06 PM
SaveAs Bill[_19_] Excel Programming 1 January 27th 04 11:11 PM


All times are GMT +1. The time now is 11:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"