I've written a macro that takes cell value from excel match it with the sql server table and return the data on the same spreadsheet. I think I'm doing it wrong. I'm not able get accurate data using below piece of code. Instead of using SQL IN statement in my query, I want to match single cell at one time using below SQL statement:
Please Login or Register to view this content.
Here is the entire code for macro:
Please Login or Register to view this content.
Bookmarks