View Single Post
 
Old 04-24-2012, 09:19 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote