View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
ShaneDevenshire ShaneDevenshire is offline
external usenet poster
 
Posts: 2,344
Default Macro to Save without the Save Message

Hi Ellen

ActiveWorkbook.Close SaveChanges:=TRUE


--
Thanks,
Shane Devenshire


"Ellen G" wrote:

I am writing a macro that will ultimately close the workbook. However, I want
to save changes but I do not want the user prompted with the Do You Want To
Save Changes message. I simply want the workbook to save and close. I know
about DisplayAlerts -- but it appears that setting this to false stops the
Save message but does not keep the changes. Can anybody help?

Thanks so much.
Ellen