Hi Paul,
thanks for your quick reply.
I tried this, however it couldn't find the obj with:
If DCount("obj") = 0 Then
DoCmd.DeleteObject
Else
If Left(obj.Name, 7) = "NEW_TRP" Then
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel8, obj.Name...