Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

ExcelClearOptions

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
551365f138da with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed
Attributes
Flags

Selects which cell parts are cleared by ExcelRange.Clear.

Inheritance

  • Enum
  • ExcelClearOptions

Usage

Explore 13 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 2

Values

public const ExcelClearOptions None #

Do not clear any cell data or metadata.

Value: 0
public const ExcelClearOptions Values #

Clear literal cell values.

Value: 1
public const ExcelClearOptions Formulas #

Clear cell formulas.

Value: 2
public const ExcelClearOptions Styles #

Clear cell style indexes.

Value: 4
public const ExcelClearOptions Comments #

Clear comments in the selected cells when supported.

Value: 8
public const ExcelClearOptions DataValidations #

Clear data validation rules that overlap the range.

Value: 32
public const ExcelClearOptions ConditionalFormatting #

Clear conditional formatting rules that overlap the range.

Value: 64
public const ExcelClearOptions Merges #

Clear merged-cell definitions that overlap the range.

Value: 128
public const ExcelClearOptions Sparklines #

Clear sparklines whose target cells overlap the range.

Value: 256
public const ExcelClearOptions All #

Clear all supported cell data and range metadata.

Value: 511