Conditionally delete a table as first step in Macro

  • Thread starter Thread starter lmintun
  • Start date Start date
L

lmintun

Guest
I would like to be able to detect the existence of a table in the first step, which is a delete object (table), and bypass if it doesn't exist. Otherwise, macro hangs up looking for the table it wants to delete anyway...
 
Not at all familiar with Visual Basic yet but isnt there an IF Exist statement which would then run the delete macro?
 

Users who are viewing this thread

Back
Top Bottom