Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Word.Document - user defined type not defined
I need to open a word document from excel. I've copied the followin
code from some examples I've found on this site. Dim wrdApp As Object Dim projectFile As Word.Document Set projectFile = wrdApp.Documents.Open(Filename:= _ "C:\1-Joanne\Excel\test.doc") But the program breaks each time with the error message "user type no defined" for the word.document object. I think that I need to add this to the library, but I've not idea ho to do this. Thanks in advance, J -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Cant delete user defined default chart type | Charts and Charting in Excel | |||
Excel Message "user defined type not defined" | Excel Discussion (Misc queries) | |||
"User-defined type not defined" message in Excel | Excel Discussion (Misc queries) | |||
Passing an Array of User-Defined Type to an Argument of a Function | Excel Programming | |||
User Defined Type Structure - want it to be variable not numeric literal | Excel Programming |