If you're closing a workbook, you can use:
dim wkbk as workbook
set wkbk = workbooks("book1.xls")
'do lots of stuff
wkbk.close savechanges=false
to avoid that question.
Rich wrote:
When I close a woorkbook, it asks me if I want to save. I know I
don't, and it is very important that other ppl that I give the
workbook to don't either. In fact it's also better if they don't have
a choice to.
Is there a line of code say opposite to Application.SaveWorkspace,
that will disallow a save?
--
Dave Peterson