Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Excel 2007
I have a large spreadsheet that was exported from a accounting file. There are four columns with addresses, (add 1, add 2...), I would like to be able to take this information and move it into one column without re-doing all the information. If I can do this, I will be able to wrap the text to fit on the same page. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sub put4columnsinto1()
dim i as integer dim dlr as long dim lr as long For i = 2 To 4 dlr = Cells(Rows.Count, 1).End(xlUp).Row + 1 lr = Cells(Rows.Count, i).End(xlUp).Row Cells(1, i).Resize(lr).Copy Cells(dlr, 1) Next i End Sub -- Don Guillett Microsoft MVP Excel SalesAid Software "Canon" wrote in message ... Excel 2007 I have a large spreadsheet that was exported from a accounting file. There are four columns with addresses, (add 1, add 2...), I would like to be able to take this information and move it into one column without re-doing all the information. If I can do this, I will be able to wrap the text to fit on the same page. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
WOW!
What does that mean? Can I copy and paste this somewhere? "Don Guillett" wrote: Sub put4columnsinto1() dim i as integer dim dlr as long dim lr as long For i = 2 To 4 dlr = Cells(Rows.Count, 1).End(xlUp).Row + 1 lr = Cells(Rows.Count, i).End(xlUp).Row Cells(1, i).Resize(lr).Copy Cells(dlr, 1) Next i End Sub -- Don Guillett Microsoft MVP Excel SalesAid Software "Canon" wrote in message ... Excel 2007 I have a large spreadsheet that was exported from a accounting file. There are four columns with addresses, (add 1, add 2...), I would like to be able to take this information and move it into one column without re-doing all the information. If I can do this, I will be able to wrap the text to fit on the same page. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Automatic information transfer | Excel Discussion (Misc queries) | |||
Transfer Information | Excel Worksheet Functions | |||
Look up information on one worksheet and transfer to another | Excel Discussion (Misc queries) | |||
Transfer information | Setting up and Configuration of Excel | |||
how do I transfer information from one sheet to another? | Excel Discussion (Misc queries) |