deleting a file through VBA

  • Thread starter Thread starter pat67
  • Start date Start date
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
 
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.
 
Back
Top