Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 238
Default Saving to a text file

1260 6 2
1266 26 12
1280 10 4
128A
128A 172 12 12
1336
1336 34 16
1358 8 3
I have 4 columns of data that looks like this when saved to a text
file. All compresed.

1260 6 2
1266 26 12
1280 10 4
128A
128A 172 12 12
1336
1336 34 16
1358 8 3
I would like it formated more like this when saves to a file. Excel
97. Thanks in advance.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,510
Default Saving to a text file

Not sure if xl97 has a tab delimited option for txt files but look through
the file type save as options and if it does then that should do the trick.

Regards,

OssieMaxc

"Fan924" wrote:

1260 6 2
1266 26 12
1280 10 4
128A
128A 172 12 12
1336
1336 34 16
1358 8 3
I have 4 columns of data that looks like this when saved to a text
file. All compresed.

1260 6 2
1266 26 12
1280 10 4
128A
128A 172 12 12
1336
1336 34 16
1358 8 3
I would like it formated more like this when saves to a file. Excel
97. Thanks in advance.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 238
Default Saving to a text file

After reading your post, I found this
& vbTab

I merged the info into one cell and used a write to file macro that
exports columns
..
Cells(StartIt, 12) = " " & Address & vbTab & FTotal & vbTab & FSizeX

Now it looks like this. Thanks.
1260 6 2
1266 26 12
1280 10 4
128A 172 12x12
1336 34 16
1358 8 3
1360 22 10
1376 8 3
137E 8 3
1386 6 2
138C 6 2
1392 107 12x7
13FD 8 3
1405 10 4

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 238
Default Saving to a text file

With Courier Font, it lines up perfect.

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
Saving Text File Olan Gotcher Excel Discussion (Misc queries) 1 July 15th 06 10:20 PM
Text file saving, setting file origin mauddib Excel Discussion (Misc queries) 0 May 25th 06 02:50 PM
Saving multi-tab excel file created from comma delimited text file Marcus Aurelius Excel Programming 2 December 19th 05 05:16 PM
saving an excel file as text without text in quotes John Excel Discussion (Misc queries) 2 December 6th 05 06:20 PM
saving an excel file as an ASCII text file without delimiters Sewellst Excel Programming 4 January 7th 05 01:41 PM


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

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"