J
JingleRock
I have a large row of formulas (183 cells) in a spreadsheet that I
want to copy a variable number of times (could be as many as 2,000).
My current working code:
With Sheets("WORKPLACE")
.Range(.Cells(5, 4), .Cells(5, 4).Offset(0, 182)).Copy _
Destination:=.Range(.Cells(6, 4), .Cells(totalrows, 4))
End With
My thought is to create a variant array:
vtFormulas =
WorksheetFunction.Transpose(WorksheetFunction.Transpose(ActiveSheet.Range
_
(Cells(5, 4), Cells(5, 186))))
What is the best way to copy this array down from Cells(6, 4) to
Cells(totalrows, 4)?
I want cell references to change relative to the respective row.
Thanks for a response.
want to copy a variable number of times (could be as many as 2,000).
My current working code:
With Sheets("WORKPLACE")
.Range(.Cells(5, 4), .Cells(5, 4).Offset(0, 182)).Copy _
Destination:=.Range(.Cells(6, 4), .Cells(totalrows, 4))
End With
My thought is to create a variant array:
vtFormulas =
WorksheetFunction.Transpose(WorksheetFunction.Transpose(ActiveSheet.Range
_
(Cells(5, 4), Cells(5, 186))))
What is the best way to copy this array down from Cells(6, 4) to
Cells(totalrows, 4)?
I want cell references to change relative to the respective row.
Thanks for a response.