View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Robert Crandal Robert Crandal is offline
external usenet poster
 
Posts: 309
Default ThisWorkbook.Close question

Please take a look at the code below:

Public Sub DumbFoo ( )
ThisWorkbook.Close()

Sheet1.Range("A1").Value = -1
ThisWorkbook.Save()
End Sub


Is it safe to assume that the code below the
"ThisWorkbook.Close()" line will NOT be
executed??? My question is basically: Does
all VBA code stop executing once a .Close()
function is called???

Thank you!