View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Henrik Wendel Henrik Wendel is offline
external usenet poster
 
Posts: 7
Default Deleting a file using VB


Kill "C:\ImportentSecretFile.Csv"

Wendel

"Rohit Thomas" skrev i meddelandet
...
Hello All,

I have delimted text files that I import into Excel using
macros. Once the import is finished, I would like to
delete the text file because it contains SS#'s and other
sensitive info. How do I delete the file from Excel using
VB? The text files are normally located on a LAN.

Thanks in advance,
Rohit Thomas