Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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.Tran spose(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. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy a range into an array | Excel Programming | |||
What is the fastest way to copy a range to a 2D array? | Excel Programming | |||
copy one array formula to an array range | Excel Programming | |||
Copy Range and Paste to Array of Sheets | Excel Programming | |||
How Can I copy all value of the array into the range? | Excel Programming |