How do you open one or more documents in Word2000, and then make use of them?
My application runs well in Word97SR2, but fails on a colleagues Word200 system. Excerpts of code are in the attached Text file.
I suspect the problem is caused by Word2000 treating each opened document as a separate application, whereas Word97 treats each opened document as a window within the same appliaction.
My application template GLUER opens up a document called GRABR.DOC, and the colleague sees this.
Gluer then goes to prime a list box with data from the GRABR.DOC, which I had identified as “doc” in a global variable. On my system (Word97) “doc” is accessed and the list box is primed. On my colleagues system (Word2000), the 5941 error results “the requested member of the collection does not exist”, or such like.
The MSKB articles give workarounds that seem to consist of trapping the error, but no solution that will let me actually use the document which I have successfully opened!
See for example http://support.microsoft.com/default.aspx?…kb;EN-US;170892%5B/url%5D