"Specified module could not be found"... where did it go?!?!

T

Todd

I have some simple code that creates a new word document. It has worked
well for a long time, but all of a sudden, I'm getting the following error
message...

"Automation Error
The specified module could not be found"

Here is the code that is being flagged as the problem...

Dim objWord As Word.Application
Set objWord = CreateObject("Word.Application")

Any ideas? Thanks!!!
 
D

Douglas J. Steele

Check your references. Perhaps one of the other ones has a problem, which
could impact the use of other references.
 

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