W
Werner Rohrmoser
Hello,
I'm using a For Next loop to create some named formulas.
*****************************************************************
For LoopCounter = 11 To 18
ThisWorkbook.Names.Add Name:=Service.Cells(LoopCounter, 1).Value, _
RefersTo:=Service.Cells(LoopCounter, 2).Value
Next LoopCounter
*****************************************************************
the RefersTo arguments looks like this:
"ABS(C$173-SUM(C$158,C$165,C$168))<1" (columns relative)
When I run my procedure having cell pointer on column"C" I get
named formulas, which looks like this:
"ABS(E$173-SUM(E$158,E$165,E$168))<1" (offset of two rows).
When I use column"A" in the RefersTo argument I get column "C" in my
named formulas.
CRAZY!
Any help is appreciated.
Excel XP SP3
WIN XP SP1
Best Regards
Werner
I'm using a For Next loop to create some named formulas.
*****************************************************************
For LoopCounter = 11 To 18
ThisWorkbook.Names.Add Name:=Service.Cells(LoopCounter, 1).Value, _
RefersTo:=Service.Cells(LoopCounter, 2).Value
Next LoopCounter
*****************************************************************
the RefersTo arguments looks like this:
"ABS(C$173-SUM(C$158,C$165,C$168))<1" (columns relative)
When I run my procedure having cell pointer on column"C" I get
named formulas, which looks like this:
"ABS(E$173-SUM(E$158,E$165,E$168))<1" (offset of two rows).
When I use column"A" in the RefersTo argument I get column "C" in my
named formulas.
CRAZY!
Any help is appreciated.
Excel XP SP3
WIN XP SP1
Best Regards
Werner