Hi Gurus,
I need guidance or the following requirement.
I have multiple of named ranges that are to be merged, de-duplicated and updated back to all of those ranges again. Example: I am adding the following screenshots to understand the before and after running the macro.
Before:
Attachment 546242
After:
Attachment 546243
Basically, it is merging, de-duplicating and updating back to the same named ranges. As list of columns need to be compared is huge and in various combination, I thought using ADO solves my problem quickly. SQL Union results in mergin and de-duplication automatically. I am able to achieve this very quickly. Only problem is that, those columns outside the first 256 columns of spreadsheet are resulting in error. Please find the attached sample file with ADO solution.
ADO On Excel - Sample file.xlsm
Is there a way to overcome this issue with ADO or any other suggestions to deal this with VBA code?
Thanks for all your help.
Bookmarks