Hi
You may use the AddFromFile method available from the VBProject property,
eg:
ThisWorkbook.VBProject.References.AddFromFile _
"C:\Program Files\Common Files\Microsoft Shared\DAO\dao360.dll"
HTH
Cordially
Pascal
a écrit dans le message de news:
...
i want to refer the dao object using programming...
this is not tool-reference and check...
*** Sent via Developersdex http://www.developersdex.com ***