Macro Sheets Only
Assigns a macro to the currently select object.
Syntax
ASSIGN.TO.OBJECT(macro_ref)
ASSIGN.TO.OBJECT?(macro_ref)
Macro_ref is the name of, or a reference to, the macro you want to run when the object is clicked. If macro_ref is omitted, Microsoft Excel no longer runs the previously specified macro (ASSIGN.TO.OBJECT is turned off).
Remarks
Related Functions
CREATE.OBJECT Creates an object
RUN Runs a macro
List of Command-Equivalent Functions