View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
[email protected] john.9.williams@bt.com is offline
external usenet poster
 
Posts: 104
Default Dim Appword As word.application

Where would i use the Set appWord = CreateObject("Word.Application")
syntax


AA2e72E wrote:
Use:

Set AppWord=CreateObject("Word.Application")

OR:

Add the Word object library reference to your project

" wrote:

Hi

I am using this daclaration in a program

"Dim Appword As word.application"

when i run my program i get this error assigned to this

"Compile error userdefined type not defined"

I know i have to do something but not sure what, any help greatly
received

Johny