Hi Richard,
Aside from making sure you're not using functions that were introduced with Office 2010, you could probably save yourself some grief by:
• modifying the code to use late binding;
• using Office 2007 as the development platform (the references will automatically adjust for later Office versions); or
• exporting the various module from Office 2010, then importing them under Office 2007 (and redoing the references).
Note also that you'll need to review your use of separators in the code, because the French version will use ';', for example, where the English version uses ','. Indeed, the "can't find object library or wrong object library" error might be because your addin is looking for a library for use with another language.
The reason the Word reference has automatically changed to 12.0 is that it's one you didn't set - it's automatically set to whatever the current version is.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|