Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default save as text in excel 2003

have excel file with three columns
132422 la di da da sings, mark
334322 too la roo terrible, vocal

want to save as text file but the 2nd column must start at 8th charactor
spot in text file and third column must start at 44th charactor spot in the
text file.
2001 DON'T ROCK THE JUKEBOX ALAN JACKSON
2002 HOT HOT HOT BUSTER POINDEXTER
2003 SHOUT ISLEY BROTHERS
2004 BORN TO BE WILD STEPPENWOLF

Any clue how to save it into txt file like that?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default save as text in excel 2003

In a second sheet you can put this formula in A1:

=TEXT(Sheet1!A1,"0000000") & Sheet1!B1 & REPT(" ",37-LEN(Sheet1!B1)) &
Sheet1!C1

Will make column A into 7 characters with leading zeroes, then column
B will be 37 characters long padded with spaces, and C1 will be from
character 44 onwards.

Copy this formula down as required, then have Sheet2 selected when you
do File | Save As with Text file as the file type, and then only that
sheet will be saved.

Hope this helps.

Pete

On Apr 25, 1:00*pm, lightman
wrote:
have excel file with three columns
132422 * * * * * *la di da da * * * * * sings, mark
334322 * * * * * *too la roo * * * * * *terrible, vocal

want to save as text file but the 2nd column must start at 8th charactor
spot in text file and third column must start at 44th charactor spot in the
text file.
2001 DON'T ROCK THE JUKEBOX * * * * * * * * ALAN JACKSON * * * * * * * *
2002 HOT HOT HOT * * * * * * * * * * * * * * * * * BUSTER POINDEXTER * *
2003 SHOUT * * * * * * * * * * * * * * * * * * * * * * ISLEY BROTHERS * * * * *
2004 BORN TO BE WILD * * * * * * * * * * * * * * STEPPENWOLF * * * * * *

Any clue how to save it into txt file like that?


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
excel save as csv - force text qualifier on every text field Newbie-Don Excel Discussion (Misc queries) 6 April 2nd 23 08:33 PM
Save AS in Excel 2003 sbhayes Excel Discussion (Misc queries) 6 November 22nd 06 08:46 AM
The SAVE AS... option is gone in Excel 2003 PC Doctor Excel Discussion (Misc queries) 1 November 7th 06 11:22 PM
excel 2003 freeze when save as FareedS786 Excel Discussion (Misc queries) 2 September 4th 05 09:22 PM
Save prompt for Excel 2003 Adrastos Setting up and Configuration of Excel 1 February 6th 05 07:54 PM


All times are GMT +1. The time now is 01:28 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"