General information
Category:
Coding, syntax & commands
Title:
Done with Excel; Need help with Word OLE Automation now :-)
I'm having trouble with the following snippet:
goword = createobject('word.application')
goword.application.visible = .f.
goword.documents.open("c:\jmb\autlanda.doc")
goword.activedocument.printout
Everything is just jim-dandy until it hits the line:
goword.activedocument.printout
At that point, I get a 'type mismatch' OLE error? Do any of you gurus know what is going on? This lowly peon would sure appreciate yet another bit of wisdom!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only