Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Alex K
 
Posts: n/a
Default How do I create a "fixed-width" datafile?

I need to create a fixed-width file from an Excel .xls file to import into my
FedEx shipping software.

How may I save or convert my file into a fixed field datafile?

Thanks in advance,

Alex
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

If you don't have too long a line (no more than 240 characters per line), try
saving a copy of your workbook as a .prn file.

Look in the Save As Type box:
Formatted Text (Space delimited)(*.prn)

I like to change to Courier New font and resize the columns the way I like.

Alex K wrote:

I need to create a fixed-width file from an Excel .xls file to import into my
FedEx shipping software.

How may I save or convert my file into a fixed field datafile?

Thanks in advance,

Alex


--

Dave Peterson
  #3   Report Post  
Alex K
 
Posts: n/a
Default

Dave,

Thank you for responding. I do need to save the file as a "fixed field".
the .prn option saves it as a "space" delimited file.

Know how to get it into a "fixed field" format?
I have about 30 columns of data with 2-35 characters per cell. And about
2000 rows.

Thanks again,

Alex

"Dave Peterson" wrote:

If you don't have too long a line (no more than 240 characters per line), try
saving a copy of your workbook as a .prn file.

Look in the Save As Type box:
Formatted Text (Space delimited)(*.prn)

I like to change to Courier New font and resize the columns the way I like.

Alex K wrote:

I need to create a fixed-width file from an Excel .xls file to import into my
FedEx shipping software.

How may I save or convert my file into a fixed field datafile?

Thanks in advance,

Alex


--

Dave Peterson

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

Actually, it doesn't save the file as space delimited (each field separated by a
single space). It's fixed width.

The number of rows don't matter--but the number of characters per line will.

Another option is to have a macro do it for you.

JE McGimpsey has some nice code you can borrow and enhance at:
http://www.mcgimpsey.com/excel/textfiles.html



Alex K wrote:

Dave,

Thank you for responding. I do need to save the file as a "fixed field".
the .prn option saves it as a "space" delimited file.

Know how to get it into a "fixed field" format?
I have about 30 columns of data with 2-35 characters per cell. And about
2000 rows.

Thanks again,

Alex

"Dave Peterson" wrote:

If you don't have too long a line (no more than 240 characters per line), try
saving a copy of your workbook as a .prn file.

Look in the Save As Type box:
Formatted Text (Space delimited)(*.prn)

I like to change to Courier New font and resize the columns the way I like.

Alex K wrote:

I need to create a fixed-width file from an Excel .xls file to import into my
FedEx shipping software.

How may I save or convert my file into a fixed field datafile?

Thanks in advance,

Alex


--

Dave Peterson


--

Dave Peterson
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
Is it possible to create one column with two different width? Dave H... Excel Worksheet Functions 1 February 21st 05 05:52 PM
Is it possible to create one column with two different width? Dave H... Excel Worksheet Functions 0 February 21st 05 05:45 PM
Is it possible to create one column with two different width? Dave H... Excel Worksheet Functions 0 February 21st 05 05:45 PM
fixed column width with text string Sarah Excel Discussion (Misc queries) 1 February 8th 05 09:09 PM
Export to fixed width text file FinChase Excel Discussion (Misc queries) 0 January 24th 05 07:25 PM


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