Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.39 KB

Excel.Application.DisplayPasteOptions.md

File metadata and controls

51 lines (31 loc) · 1.39 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.DisplayPasteOptions property (Excel)
vbaxl10.chm133273
vbaxl10.chm133273
Excel.Application.DisplayPasteOptions
da9cc6c1-e803-411a-220d-5c9c82d94504
04/04/2019
medium

Application.DisplayPasteOptions property (Excel)

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

Syntax

expression.DisplayPasteOptions

expression A variable that represents an Application object.

Remarks

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.

Example

In this example, Microsoft Excel notifies the user of 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

[!includeSupport and feedback]