
Originally Posted by
merlinxl
It did not work at first but I think the problem is there are no spaces between entries. It appears when I pasted in my post it created a space.
I tried the macro with a space on line 8 etc and it worked.
-- Table: {2} <----Line 8
-- Table: {3} <----Line 15
-- Table: {4} <----Line 22 etc....
Sorry,
TIA
M
The macro leaves "quotes" around each entry. Is it possible to remove them?
try
Sub test()
Dim i As Long, n As Long
For i = 8 To Cells(Rows.Count, "a").End(xlUp).Row Step 7
n = n + 1
Cells(n, "c").Reszie(,7).Value = _
Evaluate("transpose(transpose(" & _
Cells(i + 1,"a").Resize(7).Address & "))")
Next
Range("b1:b" & n).Replace what:=Chr(34), replacement:=""
End Sub
Bookmarks