Example range: "A1:D9"
Is there a smarter way of getting the last row (9) and last column (D=4) of a range address than:
I'm hoping for some nice object-based solution like:
Is there a smarter way of getting the last row (9) and last column (D=4) of a range address than:
Code:
range(mid(selection.address,instr(1,selection.address,":")+1,200)).Row
range(mid(selection.address,instr(1,selection.address,":")+1,200)).Column
I'm hoping for some nice object-based solution like:
Code:
selection.TheLastRowInTheUniverse