![]() |
#1
|
||||
|
||||
![]() Hi guys, Does anyone know if there are any compatibility issues with this between office versions (2007 to anything newer)? I just tried to save a .docx file from a .dotx template file. I recorded a macro when doing it and this was the code that was produced: Code:
ActiveDocument.SaveAs FileName:="fileName.docx", FileFormat:= _ wdFormatXMLDocument, LockComments:=False, Password:="", AddToRecentFiles _ :=False, WritePassword:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts _ :=False, SaveNativePictureFormat:=False, SaveFormsData:=False, _ SaveAsAOCELetter:=False The office open XML file [filename] cannot be opened because there are problems with its contents do you guys know what might be happening here. It looks to me as though there are plenty of options, and of course MS is so great and documenting small things like this. Could I have done something wrong perhaps? any help would be great. thanks! |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
wornways | Word | 2 | 11-24-2014 07:37 AM |
Method to active "Select Drawing Objects" | rgustin | Word VBA | 1 | 08-18-2012 11:58 AM |
How to edit the "Format" and the "show level" of an EXISTING table of content? | Jamal NUMAN | Word | 2 | 08-14-2011 10:46 AM |
![]() |
Jamal NUMAN | Word | 2 | 07-03-2011 03:11 AM |
Want to search for "class", replacing with document property | YetAnotherAuthor | Word | 0 | 10-30-2009 09:43 AM |