When I use this code:
ws.Range("C4:C16") = WorksheetFunction.Transpose(All)
Only the first element of Array is pasted in to all cells.
Any Idea?
Dim All As Variant
Dim Phase1 As Variant
Dim Phase2 As Variant
Dim SP3 As Variant
Set All = ws.Range("B4:B16")
Set Phase1 = ws.Range("B19:B22")
Set Phase2 = ws.Range("B25:B31")
Set SP3 = ws.Range("B33:B35")
ws.range("destination range").value=phase1.value.
All=Range(...).value
Range(...).value = All
Thanks for replay tusharam,
I have 4 Arrays declared As:
Code:Dim All As Variant Dim Phase1 As Variant Dim Phase2 As Variant Dim SP3 As Variant Set All = ws.Range("B4:B16") Set Phase1 = ws.Range("B19:B22") Set Phase2 = ws.Range("B25:B31") Set SP3 = ws.Range("B33:B35")
All is one of it.