Close Event Example
This example tests for the Close event and if the item has not been Saved, it uses the Save method to save the item without prompting the user.
Function Item_Close() If not Item.Saved Then Item.Save End If End Function