Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
printout method on embedded word document fails
I have a word document embedded in an excel worksheet
when i try to print the document from vba i get an automation error. my code is something like this sub test() dim owordapp as word.application dim oworddoc as word.document dim oembobj as oleobject set oembobj=thisworkbook.somesheet.oleobjects("mydoc") oembobj.activate set owordapp=oembobj.object.application set oworddoc=owordapp.activedocument oworddoc.printout ...... end sub using office 2003 on xp sp2 system |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Printing Embedded Word Document | Excel Programming | |||
Embedded Word document | Excel Discussion (Misc queries) | |||
Automate Embedded Word Document | Excel Programming | |||
Read embedded word document by VBA | Excel Programming | |||
Read embedded word document | Excel Programming |