Thread: code for saving
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Pier Pier is offline
external usenet poster
 
Posts: 4
Default code for saving

Thank you very much Abdul,ù
Pier
www.valchisone.it


-----Original Message-----
Sub Auto_Close()
ThisWorkbook.Saved = True
ThisWorkbook.Close
End Sub


Abdul Salam

-----Original Message-----
Hi,
how can i produce a code that when the program excel ask
me i want to save the file when i exit "don't save" and
close it.
Regards
Pier
.

.