Peter
2004-09-03 21:40:51 UTC
Hi,
I have a template in Word with a object typelibrary reference to Excel 10.0.
My template is also used by people with Ms Excel 9.0. type library. This
will cause an error if the excel code is processed. This can be avoided by
adding an error routine, but I want the template to work for both occasions
(9.0 and 10.0)
Is there a way that the reference can be checked through VBA, and, if
possible, is added to the project by VBA?
Thx.
Peter
I have a template in Word with a object typelibrary reference to Excel 10.0.
My template is also used by people with Ms Excel 9.0. type library. This
will cause an error if the excel code is processed. This can be avoided by
adding an error routine, but I want the template to work for both occasions
(9.0 and 10.0)
Is there a way that the reference can be checked through VBA, and, if
possible, is added to the project by VBA?
Thx.
Peter