General Topics in VBA

Remove Duplicates (Excel VBA Code)

Public Sub DeleteDuplicateRows()
'
' This macro deletes duplicate rows in the selection. Duplicates are
' counted in the COLUMN of the active cell.

Dim Col As Integer
Dim r As Long

Code to List All Named Ranges in a Worksheet

The following code will list down all the named ranges in an Excel Worksheet.