HockeyDiablo
Board Regular
- Joined
- Apr 1, 2016
- Messages
- 182
I have columns up to ("PL") and I would like to remove duplicates from each column.
Sub Macro3()
' Macro3 Macro
Selection.EntireColumn.SelectColumns("AA:AA").Select
ActiveSheet.Range("$AA$1:$AA$96769").RemoveDuplicates Columns:=1, Header:= _
xlNo
Selection.EntireColumn.Hidden = True "hides the column so I know what one I ran the duplicate check on"
End Sub
Selection.EntireColumn.Select
Can I change the range to run this or is there a way to run a quick macro to click on the column to selct all and then run the macro for the selected column??
Sub Macro3()
' Macro3 Macro
Selection.EntireColumn.SelectColumns("AA:AA").Select
ActiveSheet.Range("$AA$1:$AA$96769").RemoveDuplicates Columns:=1, Header:= _
xlNo
Selection.EntireColumn.Hidden = True "hides the column so I know what one I ran the duplicate check on"
End Sub
Selection.EntireColumn.Select
Can I change the range to run this or is there a way to run a quick macro to click on the column to selct all and then run the macro for the selected column??
Last edited: