Guys,
i m trying to get the unique values from excel table (declare as listobject) and import them to another table (declare as listobject).the issue is that when a paste the values ,the first two values are the same and the table don't resize. Code posted below:
Thanks for helping me out
i m trying to get the unique values from excel table (declare as listobject) and import them to another table (declare as listobject).the issue is that when a paste the values ,the first two values are the same and the table don't resize. Code posted below:
Code:
ActiveSheet.ListObjects("tblNames").ListColumns(1).DataBodyRange.AdvancedFilter Action:=xlFilterCopy, CopyToRange:=ActiveSheet.ListObjects("tblTest2").ListColumns(1).DataBodyRange, Unique:=True
Thanks for helping me out