How to delete external file?

S

Shirley

Need your help...

I exported tables to excel and emailed it to my client. I
need to go to the next record and take the same action.
The excel file's name is the same. If I don't delete it
before processing the next, The previous tabs will stay.
Plus, I'd like to delete it to keep the harddrive clean.
But I haven't figured a way to do it ...

Thanks,

Shirley
 
C

Cheryl Fischer

Hello Shirley,

If you are using VBA code to do your processing, you can use the
"ever-popular" Kill statement to delete external files. For example:

Kill "c:\MyApp\Orders.XLS"
 

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