Convert multiple rows and columns to one colu
Solved/Closed
rahimisoft
Posts
6
Registration date
Sunday October 31, 2010
Status
Member
Last seen
March 28, 2011
-
Oct 31, 2010 at 12:50 PM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Dec 14, 2011 at 10:49 PM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Dec 14, 2011 at 10:49 PM
Related:
- Convert row to column in notepad++
- Convert m3u to mp3 - Guide
- How to open excel in notepad - Guide
- How to convert number to words in word - Guide
- Convert picture to shape powerpoint - Guide
- Convert number to words in excel - Guide
5 responses
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Oct 31, 2010 at 10:08 PM
Oct 31, 2010 at 10:08 PM
the data is from row 1 down to row 8(it can have as many rows) and three columns(it can have as many columns).
macro "test" is operative macro
macro "undo" undoes the result of the macro
try this macro
macro "test" is operative macro
macro "undo" undoes the result of the macro
try this macro
Sub test() Dim j As Long, k As Long, r As Range, dest As Range j = Range("A1").End(xlToRight).Column For k = 1 To j Set r = Range(Cells(1, k), Cells(1, k).End(xlDown)) r.Copy Set dest = Cells(Rows.Count, "A").End(xlUp).Offset(3, 0) dest.PasteSpecial Next k End Sub
Sub undo() Dim r As Range Set r = Range("a1").End(xlDown).Offset(1, 0) Set r = Range(r, Cells(Rows.Count, "A").End(xlUp)) r.EntireRow.Delete End Sub
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Jan 14, 2011 at 06:47 PM
Jan 14, 2011 at 06:47 PM
copy column by column into destination pooint
Didn't find the answer you are looking for?
Ask a question
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Dec 14, 2011 at 10:49 PM
Dec 14, 2011 at 10:49 PM
djuMSze
will you please open a new thread and give complete information and problem
thanks
will you please open a new thread and give complete information and problem
thanks