Hi,
I have a problem with removing and adding of references. I already looked on the internet for hours, but cannot find a solution.
The problem is that my database is used on different Operating Systems and different version of Word (not access). So what i want is, when on a computer is Word 2000 instead of Word XP, that the word reference will be deleted and the Word 9 reference get add.
But if I try:
References.remove("Word")
than I get a error that say that the reference is not a valid reference.
But when I try to add the word reference by addFromfile than i get a error that the name conflict with existing object lib.
So my question is how can I remove a reference when the reference is missing?
I have a problem with removing and adding of references. I already looked on the internet for hours, but cannot find a solution.
The problem is that my database is used on different Operating Systems and different version of Word (not access). So what i want is, when on a computer is Word 2000 instead of Word XP, that the word reference will be deleted and the Word 9 reference get add.
But if I try:
References.remove("Word")
than I get a error that say that the reference is not a valid reference.
But when I try to add the word reference by addFromfile than i get a error that the name conflict with existing object lib.
So my question is how can I remove a reference when the reference is missing?