Sub RangeNames()
Dim nm As Name
For Each nm In ActiveWorkbook.Names
If Not Intersect(Range("C3"), nm.RefersToRange) Is Nothing Then
MsgBox nm.Name
End If
Next
End Sub
On 2002-02-28 08:54, mbahr2 wrote:
I appreciate your fast reply, but I think the code you gave me assumes I know the name of the range I'm trying to find. My problem is that I need to retrieve the name of the range that the cell is located in. I know the cell will be contained in a range. I just don't know which one.