Click to See Complete Forum and Search --> : Adding or changing a reference in the code


isabelle
February 15th, 2000, 09:46 AM
Is it possible to do that??

I need your help!!!

Isabelle

Clearcode
February 15th, 2000, 10:33 AM
You can add a reference to a COM object at run time with late binding i.e.

Dim wrdObj as Object

set wrdObj = CreateObject("Word.Application")



will dynamically add a reference to Microsoft Word (assuming its installed on the users machine - otherwise a run time error).