Name

workbook.RunAutoMacros(Which)

Synopsis

Runs a workbook’s automacros. This method is provided for compatibility with versions of Excel that did not support events.

Argument

Settings

Which

One of these settings: xlAutoActivate, xlAutoClose, xlAutoDeactivate, or xlAutoOpen

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.