I am trying to write some VBA to return the address of a specific column in a named range in my worksheet. For example, right now I am using the following code to return the whole range address of $I$66:$J$75, but I only want $I$66 to show. Could anyone please help me on this?
Function NamedRangeAddress(NamedRange As Range)
NamedRangeAddress = Range(NamedRange).Address
End Function
Thanks!
Function NamedRangeAddress(NamedRange As Range)
NamedRangeAddress = Range(NamedRange).Address
End Function
Thanks!