Hi all,
I need some help.
Problem: I have written a code in a Excel97 worksheet, which calls Word97. This have been working for half a year on daily use. Now some users have new versions installed: Excel 2002 and Word 2002. When used from Excel 2002 (works out fine) and properly saved (part of the code) the reference to the Word Library is changed from 8.0 to 10.0 (the other referenced libraries do not change), and after that it won't work from Excel97.
I have read a lot about late binding, early binding etc. and have changed my code to :
Dim wrd As Object
Set wrd = CreateObject("Word.Application.8"
but it dos'nt work.
Question: How can I force the code to remain on 8.0 Library??
I have following Libraries checked:
Visual Basic For Applications
Microsoft Excel 8.0 Object Library
Microsoft Word 8.0 Object Library
OLE Automation
Microsoft Forms 2.0 Object Library
Microsoft Office 8.0 Object Library
Hoping that som of you outthere can HELP.
Best regards
Claus
I need some help.
Problem: I have written a code in a Excel97 worksheet, which calls Word97. This have been working for half a year on daily use. Now some users have new versions installed: Excel 2002 and Word 2002. When used from Excel 2002 (works out fine) and properly saved (part of the code) the reference to the Word Library is changed from 8.0 to 10.0 (the other referenced libraries do not change), and after that it won't work from Excel97.
I have read a lot about late binding, early binding etc. and have changed my code to :
Dim wrd As Object
Set wrd = CreateObject("Word.Application.8"
but it dos'nt work.
Question: How can I force the code to remain on 8.0 Library??
I have following Libraries checked:
Visual Basic For Applications
Microsoft Excel 8.0 Object Library
Microsoft Word 8.0 Object Library
OLE Automation
Microsoft Forms 2.0 Object Library
Microsoft Office 8.0 Object Library
Hoping that som of you outthere can HELP.
Best regards
Claus