Returns information about how Visual Basic was called
|Method of Calling||Whats Returned|
|A user-defined function in a single cell||A range object specifying that particular cell|
|A user-defined function from an array formula in multiple cells||A range object specifying that range of cells|
|Auto_Open, Auto_Close||A string specifying the filename.|
In Excel this is "[Book2.xlsm]Sheet1"
|Macro run from the Macros dialog box||Error 2023|
The method Application.Caller does not exist in Word at the moment.
The method Application.Caller does not exist in PowerPoint at the moment.