Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
My overall problem involves extracting data from Word documents, and is
similar to other problems found in other Excel discussions. My specific problem involves a problem I run into when trying the code from these discussions. I get errors with the dimmension statements, like: Dim appWord As New Word.Application or Dim appWD As New Word.Application I get the error: Complie error: User-defined type not defined Do I need a special add-in or something to open Word documents? (I'm running Excel 2003.) -- Richard |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Richard,
At the top of the VBE Window, click 'Tools References'. Set a reference to the "Microsoft Word 11.0 Object Library". That should take care of the problem. Steve "Richard" wrote in message ... My overall problem involves extracting data from Word documents, and is similar to other problems found in other Excel discussions. My specific problem involves a problem I run into when trying the code from these discussions. I get errors with the dimmension statements, like: Dim appWord As New Word.Application or Dim appWD As New Word.Application I get the error: Complie error: User-defined type not defined Do I need a special add-in or something to open Word documents? (I'm running Excel 2003.) -- Richard |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why are there no gridlines in worksheet put into Word document? | Excel Discussion (Misc queries) | |||
The last column in my word document contains both text and number | Excel Worksheet Functions | |||
Word found no merge fields in your main document. | Excel Discussion (Misc queries) | |||
Word document embedded in Excel 2003 won't wrap | Excel Discussion (Misc queries) | |||
Hyperlink to a word document | Excel Discussion (Misc queries) |