Convert multiple rows and columns to one colu
Solved/Closed
rahimisoft
Posts
6
Registration date
Sunday 31 October 2010
Status
Member
Last seen
28 March 2011
-
31 Oct 2010 à 12:50
venkat1926 Posts 1863 Registration date Sunday 14 June 2009 Status Contributor Last seen 7 August 2021 - 14 Dec 2011 à 22:49
venkat1926 Posts 1863 Registration date Sunday 14 June 2009 Status Contributor Last seen 7 August 2021 - 14 Dec 2011 à 22:49
Related:
- Convert row to column in notepad++
- Finale notepad - Download - Musical production
- Saints row 2 cheats - Guide
- How to delete a row in word - Guide
- Amv convert tool - Download - Video converters
- Convert number to words in excel - Guide
5 responses
venkat1926
Posts
1863
Registration date
Sunday 14 June 2009
Status
Contributor
Last seen
7 August 2021
811
31 Oct 2010 à 22:08
31 Oct 2010 à 22:08
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 14 June 2009
Status
Contributor
Last seen
7 August 2021
811
14 Jan 2011 à 18:47
14 Jan 2011 à 18:47
copy column by column into destination pooint
venkat1926
Posts
1863
Registration date
Sunday 14 June 2009
Status
Contributor
Last seen
7 August 2021
811
14 Dec 2011 à 22:49
14 Dec 2011 à 22:49
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