Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

ExcelDefinedNameValidationMode

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
0eef6a5756b9 with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

Controls validation behavior for workbook defined names (Named Ranges) and A1 range bounds.

Inheritance

  • Enum
  • ExcelDefinedNameValidationMode

Usage

Explore 8 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 6

Values

public const ExcelDefinedNameValidationMode Sanitize #

Adjust invalid input into a legal Excel defined name (replace invalid characters with underscore, ensure a valid starting character, trim length). Names that resemble A1/R1C1 cell addresses are prefixed with an underscore. Out-of-bounds A1 ranges are clamped to Excel limits.

Value: 0
public const ExcelDefinedNameValidationMode Strict #

Enforce Excel rules strictly: throws when the name is invalid or the A1 range exceeds Excel bounds.

Value: 1