Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am trying to transfer the contents of an array into a range of Excel (red line in the code below). Though I am able to do that when the array has values, however, it is giving me an error when the array has formulas. How can I get this to work? VBA Code: ... Dim Vma As Variant ... TotalRows = .Range("Spread").Count Vma = Application.Transpose(.Range("Spread")) For i = TotalRows To 1 Step -1 Vma(i) = "=RC[-2]- RC[-1])" Next .Range("Spread") = Application.WorksheetFunction.Transpose(Vma) ... Thanks, MG. -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200903/1 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy array formulas | Excel Discussion (Misc queries) | |||
Formulas assignment from array to range in VSTO Excel doesn't work | Excel Worksheet Functions | |||
Excel automation: Problem with inserting an array of formulas into a range | Excel Programming | |||
copy one array formula to an array range | Excel Programming | |||
Excel copy formulas using non contiguous range | Excel Discussion (Misc queries) |