deleting a file through VBA

P

pat67

Hi, I am trying to delete a file using VBA. Here is the situation. I
have code that opens a file, called say ABC. The code then makes
changes that I have specified and at the end saves the file as ABD
( dd-mm-yyy). What i am trying to do is have the code then delet the
original file as well since there is no longer a need for it. Anu
ideas?

Thanks
 
P

pat67

Hi, I am trying to delete a file using VBA. Here is the situation. I
have code that opens a file, called say ABC. The code then makes
changes that I have specified and at the end saves the file as ABD
( dd-mm-yyy). What i am trying to do is have the code then delet the
original file as well since there is no longer a need for it. Anu
ideas?

Thanks

Never mind I found the Kill code.
 

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