I copied the code below from a source I found online which is purported to work but for me I get a Compiler Error "Named Argument Not Found" on "FileFormat" I am using Office 2007 and the Word document I am attempting to save is open.
Thanks,
Jim
Code:
ActiveDocument.SaveAs Filename:="test.docx", FileFormat:=wdFormatXMLDocument _
, LockComments:=False, Password:="", AddToRecentFiles:=True, _
WritePassword:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts:=False, _
SaveNativePictureFormat:=False, SaveFormsData:=False, SaveAsAOCELetter:=False
Thanks,
Jim
Last edited: