Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Workbook.RunAutoMacros Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Runs the Auto_Open, Auto_Close, Auto_Activate, or Auto_Deactivate macro attached to the workbook. This method is included for backward compatibility. You should use the Open, Close, Activate and Deactivate events instead of these macros.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
void RunAutoMacros(
	XlRunAutoMacro Which
)

Parameters

Which
Type: Microsoft.Office.Interop.Excel.XlRunAutoMacro

One of the XlRunAutoMacro values.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.