View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Is it possible write a self-defined function in excel that connect to SQL server to get data?

in the VBE you need to go to Tools=References and select the appropriate
ADO library that defines ADODB.

--
Regards,
Tom Ogilvy

"tc" wrote in message
...
I have tried to write ADODB connection in VBA Editor...
but it seems that it can recognize those key work in ADODB...

Any good reference / link about this suggest?
thanks.