Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 77
Default Create an ASCII Fixed Length File from Excel

I need to create a fixed length file from an excel file that I have created.
Certain columns need to be defined as alpanumeric, decimal, etc. and each
field/column needs to have a certain position determined (1-10, 11-11, 12-21,
etc.).

Any guidance would be appreciated.
--
Laura
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Create an ASCII Fixed Length File from Excel

Save As/ Formatted text (space delimited) .prn.
You'll probably have to experiment to get the column widths as you need
them; it may be easier if you change the font to a fixed-width font like
Courier, and then it may be easier to sort out your column widths..
--
David Biddulph

"Laura" wrote in message
...
I need to create a fixed length file from an excel file that I have
created.
Certain columns need to be defined as alpanumeric, decimal, etc. and each
field/column needs to have a certain position determined (1-10, 11-11,
12-21,
etc.).

Any guidance would be appreciated.
--
Laura



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 77
Default Create an ASCII Fixed Length File from Excel

Thank you for the help.

Is the column width determined by the number of pixels it shows when you
click on it and either expand it or contract it? Is this what sets the
position? Do you know how I can define a column as alphanumeric, integer,
decimal, etc?
--
Laura


"David Biddulph" wrote:

Save As/ Formatted text (space delimited) .prn.
You'll probably have to experiment to get the column widths as you need
them; it may be easier if you change the font to a fixed-width font like
Courier, and then it may be easier to sort out your column widths..
--
David Biddulph

"Laura" wrote in message
...
I need to create a fixed length file from an excel file that I have
created.
Certain columns need to be defined as alpanumeric, decimal, etc. and each
field/column needs to have a certain position determined (1-10, 11-11,
12-21,
etc.).

Any guidance would be appreciated.
--
Laura




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Create an ASCII Fixed Length File from Excel

The column width is defined as a number of characters, rather than a number
of pixels. If you are using a fixed width font the number of characters
will be defined by the column width (but in a proportional font different
letters take a different width).
In Excel you can use Format Cells to format as text, as number (with a
specified number of decimal places, as general, or a variety of other
formats such as date, time, currency. When you save as text, the resulting
file is just text.
--
David Biddulph

"Laura" wrote in message
...
Thank you for the help.

Is the column width determined by the number of pixels it shows when you
click on it and either expand it or contract it? Is this what sets the
position? Do you know how I can define a column as alphanumeric, integer,
decimal, etc?
--
Laura


"David Biddulph" wrote:

Save As/ Formatted text (space delimited) .prn.
You'll probably have to experiment to get the column widths as you need
them; it may be easier if you change the font to a fixed-width font like
Courier, and then it may be easier to sort out your column widths..
--
David Biddulph

"Laura" wrote in message
...
I need to create a fixed length file from an excel file that I have
created.
Certain columns need to be defined as alpanumeric, decimal, etc. and
each
field/column needs to have a certain position determined (1-10, 11-11,
12-21,
etc.).

Any guidance would be appreciated.
--
Laura






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
create fixed length cells & rows in excel as space delimited .prn jwarner8 Excel Discussion (Misc queries) 1 October 24th 07 07:04 PM
save an excel file in fixed length records whose fields are blank ascii save Excel Discussion (Misc queries) 1 October 13th 05 06:01 PM
how do I export a worksheet as a fixed format ascii file SVANATTA65 Excel Discussion (Misc queries) 2 June 16th 05 11:49 PM
Exporting from Excel to a Fixed Length Flat File bearie Excel Worksheet Functions 4 June 16th 05 02:16 AM
How do I export an excel file as fixed length records iainjh Excel Discussion (Misc queries) 2 March 3rd 05 05:59 PM


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