View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Mike Tomasura Mike Tomasura is offline
external usenet poster
 
Posts: 32
Default delete an excel file

If the excel worksheet is not open use this.

Set objFso = CreateObject("Scripting.FileSystemObject")
objFso.DeleteFile ("c:\test.xls")




"Ben.c" wrote in message
...
hi,
I would like to delete an excel file, but I don't know the program to do

it. Could you help me, please ?
Thanks. Best regards
Benjamin