delete excel file from access macro

G

Guest

I would like to delete an excel table from Access macro.
Has someone done this before?
 
J

Jim/Chris

I do not know a in macro but here is the code

Kill "c:\YourPath\YourFile.xls"

Jim
 
K

Ken Snell

Not in an ACCESS macro it won't. It works in ACCESS VBA code, which is not a
macro. (This differs from other Office products where macros mean VBA code;
in ACCESS, macros are a different animal from VBA.)
 
G

Guest

Thank you for the clarification Ken.
-----Original Message-----
Not in an ACCESS macro it won't. It works in ACCESS VBA code, which is not a
macro. (This differs from other Office products where macros mean VBA code;
in ACCESS, macros are a different animal from VBA.)

--

Ken Snell
<MS ACCESS MVP>




.
 

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