ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   referencing dao using vba (https://www.excelbanter.com/excel-programming/408684-referencing-dao-using-vba.html)

x [email protected]

referencing dao using vba
 
i want to refer the dao object using programming...
this is not tool-reference and check...


*** Sent via Developersdex http://www.developersdex.com ***

papou[_4_]

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



x [email protected]

referencing dao using vba
 

Thank you very much, papou!
it's good work..
good bye


*** Sent via Developersdex http://www.developersdex.com ***


All times are GMT +1. The time now is 05:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com