I could probably help more using an attached short and simple obfuscated file. You can attach a file by clicking the Go Advanced button in lower right of a reply. Then click the paperclip icon in the menu or the Manage Attachments hyperlink below the reply box. If you do that, state your goals if want a more targeted solution.
When pasting code, please paste between code tags. Insert them by clicking the # icon in the toolbar.
I see you are using the macro recorder. That is fine to learn some syntax. As you learn more, you will learn that Select is seldom needed. ScrollRow is seldom used as well. e.g.
Once a columnar range is set, you can use this routine to get uniques.
If you need to sort a one dimensional array, this routine can be used. It is a little more advanced than some others since it lets you sort by numbers or strings first when there are both in the array. You probably won't need to sort your uniques but if you do, this can help. e.g. You might want your sheet's names (unique values in column G) to be inserted to be in a sort order.
Bookmarks