Here's a sample UDF using the Caller property:
' UDF which returns the address info of the cell
' in which it resides
Function Addr() As String
' Addr = Application.Caller.Address
' Or more detail
With Application.Caller
Addr = .Parent.Parent.Name & ", " & _
.Parent.Name & ", " & .Address(0, 0)
End With
End Function
--
Regards,
Tim Zych
http://www.higherdata.com
Workbook Compare - Excel data comparison utility
"Mark Kubicki" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> is there a function that identifies what cell a formula is being used in?
>
> ex; I have a formula: =LMI(xx) entered into cell B32 as part of the code
> behind the formula, I need to know what cell the formula is being used in.
>
> many thanks in advance,
> mark
>