Jim Rech posted the below code I think more than ten years ago. It has served me well in Excel versions prior to 2007. Any ideas how this should be changed in order to to work in Excel 2007.
Sub Delete_formats()
Dim i As Integer
SendKeys "%c{PgDn}%t{tab}{end}"
For i = 1 To 100
SendKeys "%d{end}"
Next
Application.Dialogs(xlDialogFormatNumber).Show
End Sub