Hello all,
I’m trying to verify that the currently selected cell is inside of a particular named range. There’s GOT to be an easier way than I’m doing it now:
iLowCol = range.columns(1).column
iHiCol = iLowCol + range.columns.count – 1
ditto with iLowRow & iHiRow
if activecell.column is >= iLowCol and = iLowRow and <= iHiRow then activecell is in the range
This seems quite cumbersome to do. Isn't there some easy way to decide if a cell is in a range?
Thanks,