Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi. I'm trying to convert an excel sheet to txt file but I need that the
columns have a specific size (lenght). otherwise I have this: column1 column2 151214521 20 152254 15 I I want this in on txt: column1 column2 151214521 20 152254 15 Is it possible? Regards, marco |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It's difficult to see in your post, but you could use a helper column with
formulas like: =left(a1&rept(" ",25),25) & left(b1&Rept(" ",6),6) If you needed 25 characters in the first field and 6 in the second. Then copy that formula down as far as you need Copy that column paste into NotePad Save in notepad to the text file you want. If you have time/dates/money that need special formatting, you can embed =text() into each portion of the formula: =left(text(a1,"$#,##0.00")&rept(" ",25),25) & ... Marco wrote: Hi. I'm trying to convert an excel sheet to txt file but I need that the columns have a specific size (lenght). otherwise I have this: column1 column2 151214521 20 152254 15 I I want this in on txt: column1 column2 151214521 20 152254 15 Is it possible? Regards, marco -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Work sheet size relative to screen size | Excel Discussion (Misc queries) | |||
Finding Number of cells in a column of other sheet having a specific word in them | New Users to Excel | |||
how to set sheet size to reduce file size | Excel Discussion (Misc queries) | |||
How do I change column size for lower half of sheet? | Excel Discussion (Misc queries) |