Thread: auto no save
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson[_3_] Dave Peterson[_3_] is offline
external usenet poster
 
Posts: 2,824
Default auto no save

Another way to close a workbook without saving:

dim wkbk as workbook
set wkbk = workbooks("whatever.xls")
'....

wkbk.close savechanges:=false



choice wrote:

how would i go about having a code that closes the worksheet, and does NOT
save it


--

Dave Peterson