Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AskExcel
 
Posts: n/a
Default column truncated due to width constrain

Hi,
when I want to save the excel file as the prn file in the condition: the
width of the excel file exceed one page and when save into prn all the field
that fall under the exceeded page will appear at the bottom in prn file.
for example below. x12, x654, x323 suppose to be on the same line with the 3
records.

aa 12345 american road 102.20
gg 456 werndtr road 3478.90
rr 76777 hamilton road 8345.70
x12
x654
x323



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default column truncated due to width constrain

Saved from a previous post:

There's a limit of 240 characters per line when you save as .prn files.

You have a few choices (try against a copy of your worksheet):

I'd either concatenate the cell values into another column:

=LEFT(A1&REPT(" ",5),5) & LEFT(B1&REPT(" ",4),4) & TEXT(C1,"000,000.00")

(You'll have to modify it to match what you want.)

Then I'd copy and paste to notepad and save from there. Once I figured out that
ugly formula, I kept it and just unhide that column when I wanted to export the
data.

If that doesn't work for you, maybe you could do it with a macro.

Here's a link that provides a macro:
http://google.com/groups?threadm=015...0a% 40phx.gbl

AskExcel wrote:

Hi,
when I want to save the excel file as the prn file in the condition: the
width of the excel file exceed one page and when save into prn all the field
that fall under the exceeded page will appear at the bottom in prn file.
for example below. x12, x654, x323 suppose to be on the same line with the 3
records.

aa 12345 american road 102.20
gg 456 werndtr road 3478.90
rr 76777 hamilton road 8345.70
x12
x654
x323


--

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
Changed column width keeps reverting back to original size David Boone Excel Discussion (Misc queries) 3 May 29th 05 01:22 PM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
Column Width Behavior Kirk P. Excel Discussion (Misc queries) 1 January 11th 05 06:35 PM
Change the width of a single column in a column chart Dave Charts and Charting in Excel 2 December 13th 04 07:25 PM
Column Width Deborah M Excel Discussion (Misc queries) 1 December 6th 04 04:27 PM


All times are GMT +1. The time now is 12:27 PM.

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"