Saved Property

Microsoft Outlook Visual Basic

Saved Property

       

True if the Microsoft Outlook item has not been modified since the last save. Read-only Boolean.

expression.Saved

expression   Required. An expression that returns one of the objects in the Applies To list.

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