View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Frank Kabel Frank Kabel is offline
external usenet poster
 
Posts: 3,885
Default Prevent save when content change?

Hi
one way: put the following in the workbook_beforeclose event:

activeworkbook.saved = true


--
Regards
Frank Kabel
Frankfurt, Germany


Nick wrote:
Hi,

I wuould like to know if any method can disable "save when change"
function in excel using vba. Since I do not want the pop-up when
closing the excel.

Thanks.

Nick