Skip to main content

dxStringToReference(string,Integer,Integer) Method

Obtains a cell position from the specified cell reference.

Declaration

procedure dxStringToReference(const S: string; out AColumnIndex: Integer; out ARowIndex: Integer);

Parameters

Name Type
S string
AColumnIndex Integer
ARowIndex Integer

Remarks

Call this global procedure to obtain the horizontal and vertical position of a cell by its A1-style reference passed as the S parameter. The dxStringToReference procedure returns the cell’s column and row zero-based indexes as the AColumnIndex and ARowIndex parameters, respectively.

The dxStringToReference procedure is normally used for parsing formula expressions.

See Also