ActiveDocument.SaveAs FileName:="Test.docx", FileFormat:= _ wdFormatXMLDocument, LockComments:=False, Password:="", AddToRecentFiles _ :=True, WritePassword:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts _ :=False, SaveNativePictureFormat:=False, SaveFormsData:=False, _ SaveAsAOCELetter:=False ActiveDocument.Convert 'Required if not Word 2007 format
Edit:
VBA code is also saved. If you want to prevent this, it is best to move the text to a new document and save this document.
A simple example based on bookmark storage:
Option Explicit Sub Save_Doc_NoMacros() Dim ThisDoc As Word.Document Dim oDoc As Word.Document Set ThisDoc = ActiveDocument ThisDoc.Bookmarks("Bookmark1").Select Selection.Copy Set oDoc = Documents.Add Selection.Paste oDoc.SaveAs FileName:="U:/Text.docx", FileFormat:=wdFormatDocument oDoc.Close End Sub
Trace source share