kittronald pretended :
Is it possible to create a UDF that returns a defined name's Refers to:
field as text without the equal sign ?
For example, the name "Test" has a Refers to: field equal to =SUM(A1,B1).
The UDF might function like ...
=GetRefersTo("Test")
... and return ...
SUM(A1,B1)
- Ronald K.
Function GetRefersTo(Name As String)
GetRefersTo = Mid$(Names(Name).RefersTo,2)
End Function
--
Garry
Free usenet access at
http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc