I am stuck with something and need your help. I have a spreadsheet with 6326 Columns and 50 Rows. What I want to do is to remove duplicate from each column and calculate the number of unique elements and tally with other columns
Sub Macro1()
'
' Macro1 Macro
'
'
Columns("G:G").Select
ActiveSheet.Range("$G$1:$G$50").RemoveDuplicates Columns:=1, Header:=xlNo
Range("G1").Select
End Sub