Preserved Property

Microsoft PowerPoint Visual Basic

Show All

Preserved Property

       

Sets or returns an MsoTriState constant that represents whether a design master is preserved from changes. Read/write.

MsoTriState can be one of these MsoTriState constants.
msoCTrue Doesn't apply to this property.
msoFalse The design master is not preserved and can be edited.
msoTriStateMixed Doesn't apply to this property.
msoTriStateToggle Doesn't apply to this property.
msoTrue The design master is preserved and cannot be edited.

expression.Preserved

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

Example

The following line of code locks and preserves the first design master.

Sub PreserveMaster
    ActivePresentation.Designs(1).Preserved = msoTrue
End Sub