Thread: Kill a File
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Posse John Posse John is offline
external usenet poster
 
Posts: 9
Default Kill a File

I have a file with the Workbook_Open routine looking at the Path for the
current workbook.

If the Path is not equal to the expected location, I want to close the
active file and kill it as part of the subroutine.

Is this possible? I've tried several variations of the KILL command, but to
no avail.