Programming with Reflection

image\rwnprg32.gif ConnectMacroData property



object.ConnectMacroData = Value

Data type




Returns (first syntax line) or specifies (second syntax line) a string that passes information to a connect macro. When your connect macro runs, the value of MacroData is set equal to the value of ConncectMacroData.


The default value is "".

This string can be up to 260 characters long.


The value of the MacroData property changes whenever you pass macro data to a macro. (If you run a macro using the Macros dialog box, macro data is specified in the Macro data box. If you run a macro using the RunMacro method, macro data is specified with the second argument.) The ConnectMacroData property stores a fixed value that sets the value of MacroData whenever your connect macro runs.


image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this property