Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi There,
I would like to replace the cells in "my selection" which contain a Subtotal-formula with a new one: eg: =SUBTOTAL(9;XXX***:XXX***) should become =SUBTOTAL(9;XXX***:Above) =SUBTOTAL(11;YYY***:YYY***) should become =SUBTOTAL(11;YYY***:Above) Where "Above" is defined name which I create as follows: ActiveWorkbook.Names.Add Name:="Above", RefersToR1C1:= _ "=INDIRECT(""R[-1]C"",0)" Thanks for your insight! Sige |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Rewrite name in new format | Excel Discussion (Misc queries) | |||
How can I rewrite this using an Array? | Excel Programming | |||
How to Rewrite these Code? | Excel Programming | |||
How to Rewrite these Code? | Excel Programming | |||
How to Rewrite these Code? | Excel Programming |