Home Excel Powerpoint Word Outlook Error Codes

VBA Useful Codes

Welcome to the World of VBA
Home > VBAUsefulCodes

Remove Duplicates


Remove duplicates from column(s)

' Single Column

 

ThisWorkbook.Sheets("EMAILLIST").Columns(1).RemoveDuplicates Columns:=Array(1)

' Multiple Columns

ThisWorkbook.Sheets("EMAILLIST").Range("A:C").RemoveDuplicates Columns:=Array(1, 2, 3)

Subscribe

Enter your e-mail below and get notified on the latest blog posts.




Tags

VBA Outlook KPI Excel Alt+F11 Dashboards Macros Recording Graphs Automation Developer WaterFall Powerpoint Charts Pivot Tables Forecast Charts


Follow Us