Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SheetReference.Type Property

Gets or sets the type of the worksheet reference.

Namespace: DevExpress.Spreadsheet.Formulas

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

public SheetReferenceType Type { get; set; }

#Property Value

Type Description
SheetReferenceType

A SheetReference enumeration member that indicates the reference type.

Available values:

Name Description
Simple

A reference that contains the sheet name and the cell reference. A sheet name is the name of the sheet in the current workbook, for example “Sheet1!A2”.

CurrentWorksheet

Reference type that is specific for defined names. For example, if the DefinedName.RefersTo property is the “!$D$6” string, then the type of this reference is the CurrentWorksheet.

CurrentWorkbook

A type that is used sparsely. A reference of this type can be created in Microsoft Excel for a defined name. It is in the form “temp.xslx!DefinedName” where “temp.xslx” is the name of the file containing the reference.

External

A reference to an external worksheet.

Invalid

Invalid sheet reference in expressions used in defined names.

See Also