View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Robert Crandal Robert Crandal is offline
external usenet poster
 
Posts: 309
Default "Do you want to save changes?" question

Thank you.... that's what I was looking for! 8)

"OssieMac" wrote in message
...
Hi Robert,

I interpreted you question a bit differently to JLGWhiz and now not sure
that my interpretation is correct but I'll post my answer anyway.
(Straight
out of Help.)

If Not ActiveWorkbook.Saved Then
MsgBox "This workbook contains unsaved changes."
End If

--