_Application.DisplayAlerts Propiedad

Definición

Devuelve o establece la forma en que se controlan ciertas alertas y mensajes mientras se ejecuta una macro.

public:
 property Microsoft::Office::Interop::Word::WdAlertLevel DisplayAlerts { Microsoft::Office::Interop::Word::WdAlertLevel get(); void set(Microsoft::Office::Interop::Word::WdAlertLevel value); };
public Microsoft.Office.Interop.Word.WdAlertLevel DisplayAlerts { get; set; }
member this.DisplayAlerts : Microsoft.Office.Interop.Word.WdAlertLevel with get, set
Public Property DisplayAlerts As WdAlertLevel

Valor de propiedad

Comentarios

Si establece esta propiedad en wdAlertsNone o wdAlertsMessageBox, Microsoft Word no la vuelve a establecer en wdAlertsAll cuando se detiene la ejecución. Debe escribir el código de forma que siempre establezca la propiedad DisplayAlerts en wdAlertsAll cuando deje de ejecutarse.

Se aplica a