Application.ActiveMacroEx
This property returns the top-most (visible) macro. If the macro is contained in a workbook, this method will optionally return the workbook details also.
This property is read only.
| Syntax | Parameters | Return Value |
|---|---|---|
ReadOnly Property Application.ActiveMacroEx( _
Optional bIncludeWorkbooks As Boolean = True) As Object
|
bIncludeWorkbooks [in,optional]
Type: Boolean Default value: True |
Object |