Syntax
| CallersLine[(Depth)]
| ||||
---|---|---|---|---|---|
Description
| Return the caller's line as a text string.
The text format is: "[macroname|subname#linenum] linetext".
| ||||
See Also
| |||||
Example
| Sub Main
A
End Sub
Sub A
Debug.Print CallersLine '"[(untitled 1)|Main# 2] A"
End Sub
|