R
robjs
I have a double click event handler in Excel that hands me, among othe
things, a range describing the double click target cell. I also have
(single axis) named range within which I know the double click targe
lives. What I'd like is an index - the numerical position within m
named range, at which the double click took place.
In other words, I have a named Range object, myRange of, say, B4:E4
and the double click target is on cell B4. I'd like a simple way t
determine that the offset of the double click event was '1' within th
named range, or 2 if the double click was on C4, etc.
The named range will always describe a single axis, so, for instance
if myRange described a row range like B4:B9 instead of a column rang
like the previous example, a double click in B6 should return 3, th
offset into that named range.
Any help will be greatly appreciated! Thanks in advance,
- Ro
things, a range describing the double click target cell. I also have
(single axis) named range within which I know the double click targe
lives. What I'd like is an index - the numerical position within m
named range, at which the double click took place.
In other words, I have a named Range object, myRange of, say, B4:E4
and the double click target is on cell B4. I'd like a simple way t
determine that the offset of the double click event was '1' within th
named range, or 2 if the double click was on C4, etc.
The named range will always describe a single axis, so, for instance
if myRange described a row range like B4:B9 instead of a column rang
like the previous example, a double click in B6 should return 3, th
offset into that named range.
Any help will be greatly appreciated! Thanks in advance,
- Ro