Problem with Word.Document

Ammarhm

Beginner User
Local time
Today, 12:27
Joined
Jul 3, 2008
Messages
80
Hi
I am trying to extract text from a word file, but when running the code, i get an error:
Compile error: User-defined type not defined

and the following line is highlighted:

Dim myDoc As Word.Document


I am not sure how to solve this, any ideas?

Best regards
 

Users who are viewing this thread

Back
Top Bottom