Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You want a fixed width file (like for importing to a mainframe file?):
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 deano wrote: Dave, is there any way to use the Print # method to wtite to a file a table in which column spacing is not lost ? -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
2007 Excel Table and Pivot Table Formatting | Excel Discussion (Misc queries) | |||
Retaining additional row info on refreshing data table | Excel Discussion (Misc queries) | |||
Conditional formatting in a table is lost on table refresh | Excel Worksheet Functions | |||
retain table formatting when writing excel table to a txt file | Excel Programming | |||
How to write back a SQL Server table from Excel | Excel Programming |