Clarification of Caller Property Help (141784)
The information in this article applies to:
- Microsoft Excel for Windows 5.0c
- Microsoft Excel for the Macintosh 5.0a
- Microsoft Excel for the Power Macintosh 5.0a
This article was previously published under Q141784 SUMMARY
In Microsoft Excel, the Caller Property Help topic in Microsoft Visual
Basic for Applications Help contains the following statement:
If you need to write a macro which behaves differently based on whether
it is called from a button or a menu item, you should specify an
argument for the macro in the Assign Macro To Object... dialog box.
To help clarify this statement, follow the steps in the "Example" section
in the "More Information" section of this article. These steps show you how
to create a procedure that takes an argument. The steps also show you how
to specify a value for an argument when you assign the procedure to an
object.
REFERENCES
"Microsoft Excel 5 Visual Basic for Applications Reference," Microsoft
Press, pages 88-89
For more information about the Caller property, choose the Search
button in Help and type:
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbcode kbinfo KB141784 |
---|
|