View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Pradip Jain Pradip Jain is offline
external usenet poster
 
Posts: 25
Default code to delete a file

one of my macro generates an output file by the name of SimRes.xls in the
following path
D:\~Pradip\~My Documents\2_Personal\RSI\FINAL\simulation results\SimRes.xls
every time i run the code, excel prompts that file by that name already
exists, do i want to delete it.
is it possible to delete the workbook through some code.

thanks
pradip