Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Dave, that's what I needed.
"Dave Peterson" wrote: One way: Cells(i, "E").FormulaR1C1 = _ "=SUMPRODUCT(--('" & TEST.name & "'!R13C4:R20C4='" & _ detail.name & "'!RC2),('" & _ test.name & "'!R13C18:R20C18))" Barb Reinhardt wrote: I've asked this elsewhere, but thought I'd put it up for more to see. I have the following formula in my code: Cells(i, "E").FormulaR1C1 = _ "=SUMPRODUCT(--('TESTING WORKSHEET'!R13C4:R20C4='Detail Worksheet'!RC2),('TESTING WORKSHEET'!R13C18:R20C18))" The code name for "TESTING WORKSHEET" is "TEST" and the code name for "Detail Worksheet" is "DETAIL". I want to use the codename in the formula. How do I do this? Thanks, -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I use formulas using dynamic names | Excel Worksheet Functions | |||
using the Excel generic worksheet names instead of user-given names in code | Excel Discussion (Misc queries) | |||
Using Code names in formulas | Excel Programming | |||
USING NAMES IN FORMULAS | Excel Worksheet Functions | |||
Using Sheet names in formulas | Excel Programming |