ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Split text , uniformly paste in rows and columns. (https://www.excelbanter.com/excel-programming/354741-split-text-uniformly-paste-rows-columns.html)

nshanmugaraj[_5_]

Split text , uniformly paste in rows and columns.
 

HI

I have the text in the notepad imported from a file.

DATE FINAL DATE NAME AMT1 AMT2 VALUE

3/31/2003 6/02/2003 THOMAS 4.950 15.00 693.00
3/31/2003 6/02/2003 HARI 7.220 15.00 693.00
3/31/2003 6/02/2003 THOMAS 4.950 15.00 693.00

and so on...

Now from the notepad , i had pasted in the excel column A.
this shows the record in column A.

how can i write a macro to paste the fields each on a column.

PLEASE HEL

--
nshanmugara
-----------------------------------------------------------------------
nshanmugaraj's Profile: http://www.excelforum.com/member.php...fo&userid=3157
View this thread: http://www.excelforum.com/showthread.php?threadid=51783


Tom Ogilvy

Split text , uniformly paste in rows and columns.
 
You don't need to. Just do Data=Text to Columns and walk through the
wizard.

An alternative would be to just open the file by using file=Open which
should walk you through the same wizard as above.
--
Regards,
Tom Ogilvy


"nshanmugaraj"
wrote in message
news:nshanmugaraj.23zz91_1141227690.3004@excelforu m-nospam.com...

HI

I have the text in the notepad imported from a file.

DATE FINAL DATE NAME AMT1 AMT2 VALUE

3/31/2003 6/02/2003 THOMAS 4.950 15.00 693.00
3/31/2003 6/02/2003 HARI 7.220 15.00 693.00
3/31/2003 6/02/2003 THOMAS 4.950 15.00 693.00

and so on...

Now from the notepad , i had pasted in the excel column A.
this shows the record in column A.

how can i write a macro to paste the fields each on a column.

PLEASE HELP


--
nshanmugaraj
------------------------------------------------------------------------
nshanmugaraj's Profile:

http://www.excelforum.com/member.php...o&userid=31570
View this thread: http://www.excelforum.com/showthread...hreadid=517835




nshanmugaraj[_6_]

Split text , uniformly paste in rows and columns.
 

dear Tom Ogilvy,
Thanks for the reply.

but .. I need to open the notepad and do the split by writng a
macro..
PLS REPL

--
nshanmugara
-----------------------------------------------------------------------
nshanmugaraj's Profile: http://www.excelforum.com/member.php...fo&userid=3157
View this thread: http://www.excelforum.com/showthread.php?threadid=51783



All times are GMT +1. The time now is 11:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com