maybe this example will help you
![]()
Sub ert() Dim arr(1 To 20), i& For i = 1 To 20 arr(i) = i ^ 2 Next i Range("A1:A20").Value = Application.Transpose(arr) Range("B1").Resize(, UBound(arr)).Value = arr End Sub
maybe this example will help you
![]()
Sub ert() Dim arr(1 To 20), i& For i = 1 To 20 arr(i) = i ^ 2 Next i Range("A1:A20").Value = Application.Transpose(arr) Range("B1").Resize(, UBound(arr)).Value = arr End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks