Skip to main content

cidClearContent Constant

Specifies an ID of the “Clear Contents” pop-up menu item.

Declaration

const cidClearContent = 2;

Remarks

This menu item is enabled if the active worksheet’s CanClearCells function returns True.

A click on the “Clear Contents” menu item deletes all values from the selected cell or cell range but does not reset cell styles.

Note

This menu item is hidden if the popup menu is invoked for the focused floating container.

Use the sdxBuiltInPopupMenuClearContents resource string to localize the “Clear Contents” menu item.

See Also