Excel launching Word app can't find library

November 10, 2010 at 17:33:44
Specs: Windows XP
We have an Excel app that launches Word and moves text across. It has been working for years. The current version is stable and has been working since January. All of a sudden it gets an OLE runtime error when it tries to do:

With wordApp
ActiveDocument.Styles.Add Name:="Body", Type:=wdStyleTypeParagraph
end with

The error is "Library not registered". If you go to Tools/References, there are no libraries marked as MISSING.

Anybody know what's happening?

See More: Excel launching Word app cant find library

November 12, 2010 at 11:05:18
Chances are, your office has two different versions of Office in use. The newer version is probably updating the reference to the new version of Word, and it's causing the older versions to choke.

How To Ask Questions The Smart Way

Report •
Related Solutions

Ask Question