This documentation is archived and is not being maintained.
|Excel Developer Reference|
expression A variable that represents a Workbook object.
|Cancel||Required||Boolean||False when the event occurs. If the event procedure sets this argument to True, the close operation stops and the workbook is left open.|
This example always saves the workbook if it's been changed.
|Visual Basic for Applications|