Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have to copy an excel file into a txt file.
But when i copy paste columns(data) from excel and paste it in notepad I get tab's between the two columns data.I need it to be a space. eg.when i copy 2|3|4 (data in columns 2,3,4) i get 2 3 4 (with tabs in between) i need it to be 2 3 4.(with a single space in between numbers) Could some one help me out with a fast way to do it. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You could shrink your column widths and file|saveas and choose:
formatted text (space delimited) (*.prn) (I change my fonts to Courier New (non-proportional) just so I can see if it's close when I start.) You could use a helper column: =a1&" "&b1&" "&c1&" "&d1 copy down the column then copy those cells and paste into Notepad and save from there. Or you could use a macro. Here are three sites that you could steal some code from: Earl Kiosterud's Text Write program: www.smokeylake.com/excel (or directly: http://www.smokeylake.com/excel/text_write_program.htm) Chip Pearson's: http://www.cpearson.com/excel/imptext.htm J.E. McGimpsey's: http://www.mcgimpsey.com/excel/textfiles.html (You may be happy with Earl's version--right out of the box!) Shekhar Thakurdesai wrote: I have to copy an excel file into a txt file. But when i copy paste columns(data) from excel and paste it in notepad I get tab's between the two columns data.I need it to be a space. eg.when i copy 2|3|4 (data in columns 2,3,4) i get 2 3 4 (with tabs in between) i need it to be 2 3 4.(with a single space in between numbers) Could some one help me out with a fast way to do it. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
formatting of charts changes when copying from excel 2000 to 200. | Charts and Charting in Excel | |||
Keep Word formatting when copying text to Excel | Excel Discussion (Misc queries) | |||
Copying Excel page formatting to other pages | New Users to Excel | |||
excel not copying formulas/formatting to next row? | Excel Worksheet Functions | |||
excel not copying formulas/formatting to next row? | Excel Worksheet Functions |