Word 2013 Macro Save as Text - suppress dialogs

204 Views Asked by At

I am batch converting many word 2013 documents to text and saving them with the ActiveDocument.SaveAs2 command. Does anyone know of a way to suppress nag dialogs such as "the document may contain text content that will be lost upon conversion..." ?

It is quite bothersome in a long run to have to occasionally hit enter so that the conversion process will continue.

1

There are 1 best solutions below

0
On

There is:

Application.DisplayAlerts = wdAlertsNone

More information

Application.DisplayAlerts Property (Word)

WdAlertLevel Enumeration (Word)