Share via


DisplayPasteOptions Property

MsoTriState

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse
msoTriStateMixed
msoTriStateToggle
msoTrue

expression.DisplayPasteOptions

*expression   * Required. An expression that returns an Options object.

Example

This example enables the Paste Options button if the option has been disabled.

Sub ShowPasteOptionsButton()
    With Application.Options
        If .DisplayPasteOptions = False Then
            .DisplayPasteOptions = True
        End If
    End With
End Sub

Applies to | Options Object