View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
papou[_4_] papou[_4_] is offline
external usenet poster
 
Posts: 110
Default referencing dao using vba

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 ***