View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_7_] Bob Phillips[_7_] is offline
external usenet poster
 
Posts: 1,120
Default Dim Appword As word.application

Have you created a reference to the Word type library? Go to
ToolsReferences, scroll down to Microsoft Word, and check it.

--
HTH

Bob Phillips

wrote in message
oups.com...
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