i was using the below for a few days and it worked fine, all of a sudden this morning im getting "Application-defined r object defined error" I am trying to remove duplicates using column one in my "Assignments" tab. If it matters the data is in a table. But again whats odd is it was working fine 2 the other day and i do not believe anything has changed.
Worksheets("Assignments").Activate
ActiveSheet.UsedRange.RemoveDuplicates Columns:=1, Header:=xlYes