LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Strange effect when exporting as text file

I found each line of output being cut off after 55 characters when I used
FileFormat:=xlTextPrinter. No idea why.

But the textstream object avoided that problem.
In particular, this code snippet (from excel help) works:
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile("c:\testfile.txt", True)
a.WriteLine("This is a test, and this is a test!")
a.Close


"Warzel" wrote:

Tom Ogilvy wrote:
Why do you say Anyway

I suggested:

You can probably export as space delimited and it shouldn't put in the


double double quotes

Which is what you say is the solution.

i'am sorry. you are wright as you indeed suggest the space delimited
option. So i stand corrected and thank you not anyway but all the way



 
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
Exporting excel to text file Exceluser Excel Discussion (Misc queries) 1 July 1st 05 03:04 AM
Exporting excel to text file Exceluser Excel Discussion (Misc queries) 1 June 29th 05 05:26 AM
Exporting excel to text file Exceluser Excel Discussion (Misc queries) 1 June 22nd 05 05:33 AM
Exporting Date to Text File Dan T[_2_] Excel Programming 2 July 8th 04 01:25 PM
Exporting Text File Ray Ray[_2_] Excel Programming 1 August 17th 03 03:33 PM


All times are GMT +1. The time now is 03:46 AM.

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

About Us

"It's about Microsoft Excel"