I have 45000 social security numbers in column A . However there are header rows throughout the list .
I would like a macro that looks at each row and if the field in not a social security number then delete the row
I have 45000 social security numbers in column A . However there are header rows throughout the list .
I would like a macro that looks at each row and if the field in not a social security number then delete the row

This month, every Windows Secrets subscriber can download a one-chapter excerpt of Windows 7: The Missing Manual.Windows 7: The Missing Manual provides valuable information to help you overcome these difficulties in learning a new operating system. Subscribe today to download your free excerpt.
Lawrence,
If the order of the SSNs is not important you could just sort the list on col A (decending). All the header rows should float to the top. You can delete them and then resort.
If that is not an option let us know how the SSNs are stored, is it just 9 numbers or are there - in there, i.e. xxx-xx-xxxx.