Missing Microsoft Word 10.0 Object Library - Tools Reference Error

L

Li

This happens when anyone opens my file created in Excel 2000 in Excel XP instead. The file creates a word doc from excel. How can I modify my code below to make it able to differentiate between Microsoft Word 9.0 Object Library and the 10.0 Object Library

Dim wrd As Word.Application
 
L

Li

BTW, it also sets

Dim wrd As Objec

Set wrd = CreateObject("Word.Application"

The problem is not having this Missing 10.0 error back in 9.0 when the file is open in Excel 2000 again

----- Li wrote: ----

This happens when anyone opens my file created in Excel 2000 in Excel XP instead. The file creates a word doc from excel. How can I modify my code below to make it able to differentiate between Microsoft Word 9.0 Object Library and the 10.0 Object Library

Dim wrd As Word.Application
 
D

Dave Peterson

If you're writing that Bob's suggestion still didn't fix the problem, did you
remember to remove the reference (tools|references|uncheck it).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top