Hello all
I am trying to delete all the duplicate rows base on the values in column "A"
The rows are dynamic as in the number of rows and the code below will not work
If I manually select the range and use Data - Remove duplicates it works fine but if I record this it will not work
Any ideas please
I am trying to delete all the duplicate rows base on the values in column "A"
The rows are dynamic as in the number of rows and the code below will not work
If I manually select the range and use Data - Remove duplicates it works fine but if I record this it will not work
Any ideas please
Code:
Range("A1:Z50000").Select
Range("A1:Z50000").RemoveDuplicates Columns:=Array(1), Header:=xlNo