Created
June 2, 2016 18:13
-
-
Save erajanraja24/171363fda30b7c571c95852eb3f39220 to your computer and use it in GitHub Desktop.
VBA to remove duplicates in a given range for specified columns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub check() | |
Set Rng = ThisWorkbook.Sheets(1).Range("A1:D13") | |
Rng.RemoveDuplicates Columns:=Array(1, 2), Header:=xlYes | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment