WWW1

I am trying to save ¡°Doc¡± file as ¡°Docx¡± document programmatically.

ActiveDocument.SaveAs() method is saving the file as ¡®compatible with Word 2003¡¯. How can I save a DOCX file so that Word 2007 features would be enabled

Is it possible to uncheck the checkbox ¡°maintain compatibility with Word 97-2003¡± using word options




Re: Visual Studio Tools for Office how to uncheck the checkbox ¡°maintain compatibility with Word 97-2003¡± programmatically

Cindy Meister

Are you explicitly setting the FileFormat parameter Roughly like this should do the trick (VB syntax):

ActiveDocument.SaveAs FileName:="C:\Test\TestSaveAs.docx", FileFormat:=wdFormatDocument

The option you mention can be changed through the object model (unless the corporate admin has locked it down), but you shouldn't be changing it...