Delete a table in an external (Opened) Database

G

Guest

How do I delete a table in an external database from the current database
using VBA?

Thanks

Ross
 
A

Alex Dybenko

something like this:
open external datadase using opendatabase method then you can use:

dbExternal.TableDefs("MyTable").Delete
 
G

Guest

Alex

Thank you,

I will try it.

Ross

Alex Dybenko said:
something like this:
open external datadase using opendatabase method then you can use:

dbExternal.TableDefs("MyTable").Delete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top