GirlBlonde
Programmer
i want to delete a errors table that i get upon importation of data. this will be a regular occurance so i want to delete it each month after the user has imported their table otherwise they will just build up of tables. i have the below code but does not seem to be working. any ideas would be helpful.
many thanks
CurrentDb.Execute "DROP Sheet1$_ImportErrors MyTable"
Dim mySQL As String
mySQL = "DELETE * FROM Sheet1$_ImportErrors"
DoCmd.RunSQL mySQL
Energy & persistance conquer all things!
many thanks
CurrentDb.Execute "DROP Sheet1$_ImportErrors MyTable"
Dim mySQL As String
mySQL = "DELETE * FROM Sheet1$_ImportErrors"
DoCmd.RunSQL mySQL
Energy & persistance conquer all things!