first and last row of range
I think I should clarify.
I have selected a range of cells (highlighted). I would like have a macro
determine the first and last row of the selection without the need for me to
specify anything at all about the range. The only information it has is the
fact that cells are selected.
--
eugene
"eugene" wrote:
Hi,
Is there an easy way of capturing the first and last row of a range?
I can do it in a complicated way (assigning
ActiveWindow.RangeSelection.Address to a string variable and then parsing the
string variable to select the numbers within it which give me the first and
last row). But I suspect there exists a much simpler way to do it.
--
eugene
|