can't find word97 object...

L

les

Hello,

I have MS Access app that instantiates a MS Word. The app used to work fine
on 50 machines. However, all of a sudden it fails without any reason on a
few machines. There was nothing installed on those machines so nothing would
affect these systems. Also, we have no viruses that would cause it. Those
systems that the app fails on run Win95 and Win98.

This is the code that fails when creating the object:

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

Any help is greatly appreciated,
Les
 
A

Albert D. Kallal

You need to check your references. If the pc your develop the software on is
different then the pc you deploy to, then often references can break. It is
also possible that they are running a different version of word.

Check out:

http://members.rogers.com/douglas.j.steele/AccessReferenceErrors.html
http://users.bigpond.net.au/abrowne1/ser-38.html

In addition, try my word merge code. It uses late binding, and thus probably
works.

In addition to testing if my code works (if my code works, then word is not
broken, but you design should be changed).

You can read my notes on making a reliable word merge that does not break:
http://www.attcanada.net/~kallal.msn/wordmerge/page2.html
 

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