Copy values in row to columns in spaces
Solved/Closed
Related:
- Copy values in row to columns in spaces
- Saints row 2 cheats - Guide
- How to delete a row in a table in word - Guide
- Display two columns in data validation list but return only one - Guide
- Twitter spaces on desktop - Guide
- Fstab space in path - Guide
3 responses
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Sep 13, 2014 at 09:39 AM
Sep 13, 2014 at 09:39 AM
try this macro and see sheet2
Sub test()
Dim r As Range, c As Range
Dim r2 As Range
Worksheets("sheet2").Cells.Clear
Worksheets("sheet1").Activate
Set r = Range(Range("A1"), Range("A1").End(xlDown))
With Worksheets("sheet2")
Set r2 = .Range("A1")
End With
For Each c In r
c.Copy r2.Offset(0, 6)
With Worksheets
Set r2 = r2.Offset(0, 6)
End With
Next c
With Worksheets("sheet2")
Range(.Range("A1"), .Range("a1").Offset(0, 5)).EntireColumn.Delete
End With
End Sub
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Sep 14, 2014 at 01:08 AM
Sep 14, 2014 at 01:08 AM
you are welcome
Sep 13, 2014 at 08:40 PM
I have first copy and pasted the formulae, and it works. I am reading line by line to interpret them and revise to the worksheet format I am working on.
Thanks very much, I envy this skill set you have...