It is possible to get the calling workbook name Application.Caller.Worksheet.Parent.Name
and cell address using Application.Caller.Address
, for a function called in Excel.
Is there a way to get the sheet name, e.g. Sheet1, using Application.Caller
?
you pretty much had it already
Application.Caller.Worksheet.Name
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With