[AccessD] Automation Error

Beach Access Software bchacc at san.rr.com
Fri Jan 19 15:58:43 CST 2007


Dear List:

 

My client is getting an automation error in the Set ojbWord statemenet below
although the code works on my machine.  I have checked to see that the Word
11.0 object library is checked in references on his machine.  What else
could cause this problem?

 

Dim objWord As Word.Application

Dim objWordDoc As Word.Document

 

Set objWord = CreateObject("Word.Application")

 

With objWord

    'Visible is set True in order to view the operation.

    .Visible = True

    .Documents.Open (Me.fldFABWorkInstructions)

End With

 

Set objWord = Nothing

 

MTIA,

 

Rocky Smolin

Beach Access Software

858-259-4334

www.e-z-mrp.com

 




More information about the AccessD mailing list