Compartilhar via


_Application.ReferenceStyle Property

Returns or sets how Microsoft Excel displays cell references and row and column headings in either A1 or R1C1 reference style. Read/write XlReferenceStyle.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property ReferenceStyle As XlReferenceStyle
    Get
    Set
'Usage
Dim instance As _Application
Dim value As XlReferenceStyle

value = instance.ReferenceStyle

instance.ReferenceStyle = value
XlReferenceStyle ReferenceStyle { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlReferenceStyle

Remarks

XlReferenceStyle can be one of these XlReferenceStyle constants:

xlA1

xlR1C1

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace