diff --git a/linkcheck/winutil.py b/linkcheck/winutil.py index 03fdb580..d623bd32 100644 --- a/linkcheck/winutil.py +++ b/linkcheck/winutil.py @@ -84,7 +84,8 @@ def close_word_app (app): def open_wordfile (app, filename): """Open given Word file with application object.""" - return app.Documents.Open(filename) + return app.Documents.Open(filename, ReadOnly=True, + AddToRecentFiles=False, Visible=False, NoEncodingDialog=True) def close_wordfile (doc):