LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Earl Kiosterud
 
Posts: n/a
Default

Rick,

It sounds as if you need a fixed-width-field file, not a delimited file.
This can be done by saving as "space-delimited (prn)", if you set it up
properly. Look at www.smokeylake.com/excel. "Text files and Excel."
Section "Writing a text file from an Excel sheet." "Space-delimited." The
numeric fields will be padded with spaces, unless you format the column for
the zeroes. Format - Cells - Number - Custom: 00000 (for 5 characters
total).

There's also a section about writing a fixed-length file with formulas and
the Text Write Program (available there). Try the method above first.
--
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

"Rick" wrote in message
...
I have data that has been pulled in from a query in access and saved as a
tab
delimited file. I have then imported it into Excel with the hope of
formatting this data into the proper specs for upload to a MainFrame. I
want
to pad some of the fields with either an empty space or with zeroes.
Within
Excel I have created a custom filter to accomplish this task. When I
export
however, I am unable to save the file with the proper formatting (no
matter
how I save this file). I end up with a tab delimited file instead of being
able to combine theses fields with the proper zeroes or spaces. Can
anyone
help with this?

Example:
1-2 record code
3-14 Numeric
15-24 Numeric
25-36 Amount
37-44 Date
etc,etc...

Rick



 
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
save excel file from a table delimited file (.txt) using macros sedamfo New Users to Excel 1 February 15th 05 04:19 AM
How do you disable save file dialog? someone Setting up and Configuration of Excel 2 February 13th 05 12:02 AM
Can't save new excel file twm7766 Excel Discussion (Misc queries) 3 February 1st 05 11:56 PM
Office 2003 - "autocomplete" in file | open or file | save no longer works Lanwench [MVP - Exchange] Excel Discussion (Misc queries) 4 January 12th 05 01:35 AM
Save & Save As features in file menu of Excel Blue Excel Discussion (Misc queries) 9 December 27th 04 08:49 PM


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