Ok some spelling errors here!Originally Posted by josephemery
You Set WordDocument to creat a Word Application Object (Server)
Then you go ahead with this line
WordDocuments.documents.Open ("path")
The object you set is Without a "s"
so it should be:[vba]
WordDocument.documents.Open ("path")[/vba]
And I do hope in your application there is a qualified path instead of "path" in the Open statement or a variable carying that? And then you should write it as:[vba]
WordDocuments.documents.Open (path)[/vba] (If path is your string variable)
And path would be a terrible name for a variable cause its a VBA property so you would overwrite the one that VBA is using...(Always think about naming strings)
Also on the visible statement there is one s to much.
Further more what is: ExcelInfo (A string variable?)
In other words can you post your full code cause the code should work in general.![]()