DisplayPasteOptions Property
TOC
Collapse the table of content
Expand the table of content

Application.DisplayPasteOptions Property (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

True if the Paste Options button can be displayed. Read/write Boolean.

expression .DisplayPasteOptions

expression A variable that represents an Application object.

This is a Microsoft Office-wide setting. This setting affects all other Microsoft Office applications. Setting the DisplayPasteOptions property to True turns off the Auto Fill Options button in Microsoft Excel. The Auto Fill Options button is only in Excel, but the Paste Options button is in all the other Microsoft Office applications.

In this example, Microsoft Excel notifies the user the status of displaying the Paste Options button.

Sub CheckDisplayFeature() 
 
 ' Check if the options button can be displayed. 
 If Application.DisplayPasteOptions = True Then 
 MsgBox "The ability to display the Paste Options button is on." 
 Else 
 MsgBox "The ability to display the Paste Options button is off." 
 End If 
 
End Sub
Show:
© 2016 Microsoft