View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Denys[_3_] Denys[_3_] is offline
external usenet poster
 
Posts: 17
Default Reference... AddFromGuid

Found it....

Thanks

Denys



On Oct 23, 8:14 am, Denys wrote:
Good morning everyone,

For my project, the user must add from the Tools -Reference the
"Microsoft ActiveX Data Objects 2.0 Library" in the VBA window. This
is what was given to me.... However, it adds the "Microsoft Forms 2.0
Object Library".

Anyone would know which one is the good one? Or where I could find the
info?

ThisWorkbook.VBProject.References.AddFromGuid _
GUID:="{0D452EE1-E08F-101A-852E-02608C4D0BB4}", major:=2, minor:=0

Thank you for your time

Denys