View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
XLW XLW is offline
external usenet poster
 
Posts: 1
Default Late Binding to a dll

I currently set a reference in the VBE (Tools References) to a
database api dll but some users of the spreadsheet will not have access
to the directory at which the dll is located so an an error is
returned.
Is there a way to set the reference at run time once I have determined
whether or not the directory exists?

Something like References.AddfromFile "C:\Server\MyDll.dll"


Any suggestions gratefully received.
Thanks
Simon