Hello y’all,
I’ve successfully created a custom (user defined) function that returns the active Workbook’s name.
Function WORKBOOKNAME() As String
‘Returns the workbook name of the cell
‘that contains the function
WORKBOOKNAME = Application.Caller.Parent.Parent.Name
End Function
But now I have a client who wants the path as well as the Workbook Name.
Any suggestions how to return the Workbook’s oath and file name with a similar user define function?
Thanks so much,
Rich