MarkoExcel
New Member
- Joined
- Jun 2, 2014
- Messages
- 3
Hi Everyone
This is the first time I am using this forum to ask a question about something I have spent a long time trying to do with not much luck.
Essentially all I want to do is create a procedure/function in Excel such as =SQLdata(3), where 3 could be customer ID and then the function would make a connection to SQL and perform the SELECT etc procedure and return the CustomerName in the cell with that formula.
I have excel 2007 and MS SQL where my data is stored. I understand that I need to make the connection to my SQL database, but I really do not know how to do this.
Any help would be greatly appreciated.
Thanks soo much in advance!
This is the first time I am using this forum to ask a question about something I have spent a long time trying to do with not much luck.
Essentially all I want to do is create a procedure/function in Excel such as =SQLdata(3), where 3 could be customer ID and then the function would make a connection to SQL and perform the SELECT etc procedure and return the CustomerName in the cell with that formula.
I have excel 2007 and MS SQL where my data is stored. I understand that I need to make the connection to my SQL database, but I really do not know how to do this.
Any help would be greatly appreciated.
Thanks soo much in advance!