Hi Akuini,
Thanks for your reply, it worked awesome, however I failed with my calculation because I actually needed to use "LastRow" instead of "LastColumn" as the number of times I want to copy and paste the range.
LastRow = Range("A" & Rows.Count).End(xlUp).Offset(-8, 0).Row
If I change x in your code it mess it all
Can you help me with that?
I tried but failed:
Sub Export()
Dim c As Range, r As Range, x As Long
Dim LastRow As Long
Application.ScreenUpdating = False
LastRow = Range("A" & Rows.Count).End(xlUp).Offset(-8, 0).Row
Set r = Range("G7", Range("G7").End(xlToRight))
x = LastRow
Set c = Sheets("rawdata").Range("B2").Resize(x)
c = Application.Transpose(r)
c.Copy c.Resize(x * x)
Application.ScreenUpdating = True
End Sub
Thanks in advance.
Bookmarks