![]() |
#1
|
|||
|
|||
![]()
Hi,
Is it possible to set this via code? We get docs sent to us in a right mess formatting and styles wise, and part of that is being set to 2003 compatibility options I've sorted out all the other mess with code but not sure how (if) I can do the compatibility options to 2010. Thanks |
#2
|
|||
|
|||
![]()
PS: This doesn't work. Using wdWord2010 leave it as Word 2003. Using wdWord2007 does change it to Word 2007!
Code:
ActiveDocument.SaveAs2 Filename:=Filename("this is my filename"), FileFormat:=wdFormatDocumentDefault, CompatibilityMode:=wdWord2010 With ActiveDocument .SetCompatibilityMode (wdWord2010) End With |
#3
|
||||
|
||||
![]()
Yes, it's possible, but it's unlikely to help with any formatting issues. The code you posted changes the compatibility setting after saving the document; hence it won't change the saved document's compatibility settings.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Youngsjess | Word | 2 | 08-18-2017 09:55 AM |
![]() |
treadhead194 | Word | 4 | 12-23-2014 06:06 PM |
![]() |
Straitsfan | Word | 6 | 03-13-2014 07:36 PM |
![]() |
OTI | Word | 1 | 04-06-2011 05:41 PM |
iWork (Pages)-MS Word Compatibility | Pete3 | Word | 0 | 03-12-2010 07:13 AM |