Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dave,
Thanks. You are right; the formula was wrong. How silly of me! MG Dave Peterson wrote: Your formula isn't valid (the ()'s don't match): Vma(i) = "=RC[-2]- RC[-1])" should be: Vma(i) = "=(RC[-2]- RC[-1]" or Vma(i) = "=(RC[-2]- RC[-1])" I'm not sure if this is a simplified version, but how about: with worksheets("somesheetnamehere") .range("Spread").formular1c1 = "=RC[-2]- RC[-1]" end with ps. I'd be explicit with the .formular1c1 in your code, too. Hi, [quoted text clipped - 27 lines] Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200903/1 -- 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) |