Is it possible write a self-defined function in excel that connect to SQL server to get data?

T

tc

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.
 
T

Tom Ogilvy

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