So, I have an Excel worksheet that contains raw data.
*My goal here is to get data from SQL Server, then copy it to worksheet.
*In order to do that, I have to check if the names from the worksheet exists in database.
Here's my simple Psuedocode:
'Loop thru each row of data in worksheet
'If Name is found in database,
'Copy the data from database to Excel worksheet
End Loop
I just started exploring how to connect MS SQL Server with VBA. I've also been researching here about this, but I'm having trouble understanding the threads.
I created a band aid solution for this process. Instead of retrieving the data from database, I created another worksheet as a temporary database. I wanted to do it in SQL Server because each day, the number of data gets bigger.
Would really appreciate if you could help me out on this. Thanks in advance.