Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this - output is in column F
Sub newline() lastrow = Cells(Rows.Count, 1).End(xlUp).Row For irow = 1 To lastrow mystr = "" For icol = 1 To 5 mystr = mystr + Cells(irow, icol) + Chr(10) Next icol Cells(irow, "F") = mystr Next irow End Sub "Archangel" wrote: I have a large spread sheet that I inherited... I need to merge five columns of text data into one column. Example: Before... A B C D E The Quick Brown Fox Jumped After... A The Quick Brown Fox Jumped Help! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to merge data from multiple columns to one column | Excel Discussion (Misc queries) | |||
data in multiple columns moved to one column | Excel Discussion (Misc queries) | |||
Multiple columns of data into one long column | Excel Discussion (Misc queries) | |||
how to merge data from multiple columns to one column | Excel Discussion (Misc queries) | |||
splitting 1 column of data into multiple columns | Setting up and Configuration of Excel |