I find the easiest way to find out if a cell is part of a named range is to use
Jan Karel Pieterse's (with Charles Williams
and Matthew Henson) Name Manager
You can find it at:
NameManager.Zip from http://www.oaltd.co.uk/mvp
(ok, that doesn't help if you need it in the middle of your code--but it's still
a very useful addin.)
Ed wrote:
>
> Is there an easy way to get the name of the range containing the ActiveCell?
> I have a macro that loops through all the names in the workbook and sees if
> they intersect with the ActiveCell - but isn't there an easier way? I tried
> ActiveCell.Range.Name, and getting the row and column references for
> Cells(r,c).Range.Name, but nothing worked.
>
> Ed
--
Dave Peterson
Bookmarks