View Single Post
 
Old 03-07-2018, 05:36 AM
Btop Btop is offline Windows 10 Office 2016
Novice
 
Join Date: Feb 2018
Posts: 17
Btop is on a distinguished road
Default

I've recorded a Macro while opening any random document. This is what I get:

Code:
Sub Macro4()
'
' Macro4 Macro
'
'
    Documents.Open FileName:="Test1.docx", ConfirmConversions:= _
        False, ReadOnly:=False, AddToRecentFiles:=False, PasswordDocument:="", _
        PasswordTemplate:="", Revert:=False, WritePasswordDocument:="", _
        WritePasswordTemplate:="", Format:=wdOpenFormatAuto, XMLTransform:=""
End Sub
It might have something to do with this:

Code:
Format:=wdOpenFormatAuto
Reply With Quote