indices in named range
I assumed the error and read it as corrected.
--
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
"Stefi" wrote in message
...
Thanks Bob for confirming my solution! What about my correction?
Stefi
"Bob Phillips" ezt írta:
That's the right way to do assuming that erng may not always start in row
1
and/or column 1.
--
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my
addy)
"Stefi" wrote in message
...
I found a solution:
ERNG.Row - ECELL.Row + 1
ERNG.Column - ECELL.Column + 1
Is this the best solution?
Stefi
"Stefi" ezt írta:
Hi All,
I have a For each cycle, like this:
For Each ecell In erng
Next ecell
I can't figure out how to determine row and column indices of ECELL
inside
the cycle. I mean that I'd like to know for example, that the current
ECELL
is in the 3rd row and 2nd column of ERNG.
Please help! Thanks,
Stefi
|