G
Guest
My current program looks like the following:
Private Sub Auto_Close()
ThisworkBook.Save
ThisworkBook.Close
End Sub
The above saves the file and closes it automatically when the user exits the
file and no prompts are generated.
Could someone please show me what the code would look like to insead close
the file WITHOUT saving and WITHOUT generating a "Do you want to save?"
prompt?
Private Sub Auto_Close()
ThisworkBook.Save
ThisworkBook.Close
End Sub
The above saves the file and closes it automatically when the user exits the
file and no prompts are generated.
Could someone please show me what the code would look like to insead close
the file WITHOUT saving and WITHOUT generating a "Do you want to save?"
prompt?