Hello,
I need to identify the row number from which my UDF is being executed .
I want reference cells("the row" , 1), but don't know how to reference the row number.
Obviously, ActiveCell.Row is not appropriate but was used as an example.
Thanks for your help.
Ted H.
Function OnTime_30_OnTime()
Application.Volatile True
Analyst = Cells(ActiveCell.Row, 1)
OnTime_30_OnTime = Worksheets(Analyst).Range("AS1")
End Function
I need to identify the row number from which my UDF is being executed .
I want reference cells("the row" , 1), but don't know how to reference the row number.
Obviously, ActiveCell.Row is not appropriate but was used as an example.
Thanks for your help.
Ted H.
Function OnTime_30_OnTime()
Application.Volatile True
Analyst = Cells(ActiveCell.Row, 1)
OnTime_30_OnTime = Worksheets(Analyst).Range("AS1")
End Function