Hi All
I currently have a worksheet containing data grabbed from a SQL database.
When the data is refreshed, I need to add any news values in the recordset to the sheet, but leave any existing ones in place.
I can construct a unique id from 3 columns of the data for comparison.
Currently I'm looping through the recordset, and any rows that aren't already in the sheet are added.
That works but I suspect it's *very* inefficient - is there a tried and tested way to do this?
I'm sure there's something obvious that' I'm missing.
TIA
Si
I currently have a worksheet containing data grabbed from a SQL database.
When the data is refreshed, I need to add any news values in the recordset to the sheet, but leave any existing ones in place.
I can construct a unique id from 3 columns of the data for comparison.
Currently I'm looping through the recordset, and any rows that aren't already in the sheet are added.
That works but I suspect it's *very* inefficient - is there a tried and tested way to do this?
I'm sure there's something obvious that' I'm missing.
TIA
Si