Here is a function I wrote to test if a table exists and if so delete it.
Code:
Function DelExists(TableName)
On Error GoTo TableDoesntExist
Dim FindTable As DAO.Recordset
'*************************************************
Set FindTable = CurrentDb.OpenRecordset(TableName)
FindTable.Close
DoCmd.DeleteObject acTable, TableName
'*************************************************
TableDoesntExist:
End Function