Table of contents
TOC
折叠目录
展开目录

Application.Alerts 方法 (项目)Application.Alerts Method (Project)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

决定在运行宏时是否显示警告。Determines whether alerts appear when a macro runs.

语法Syntax

表达式警报(* 显示)expression. **Alerts( ** Show* )

表达式_一个表示应用程序对象的变量。_expression A variable that represents an Application object.

参数Parameters

名称Name必需/可选Required/Optional数据类型Data Type说明Description
ShowShow可选OptionalBooleanBoolean如此如果运行宏时,Project 将显示错误消息。默认值为TrueTrue if Project displays error messages when a macro runs. The default value is True.

返回值Return Value

BooleanBoolean

注解Remarks

通知方法仅适用于包含该方法的宏。The Alerts method applies only to the macro that contains the method.

© 2018 Microsoft