Partager via


ListColumn.SharePointFormula Property

Returns a String representing the formula in a calculated column. The formula is expressed in Excel syntax (US English locale, A1 notation). Read-only String.

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

Syntax

'Declaration
ReadOnly Property SharePointFormula As String
    Get
'Usage
Dim instance As ListColumn
Dim value As String

value = instance.SharePointFormula
string SharePointFormula { get; }

Property Value

Type: System.String
String

Remarks

If the ListColumn object does not belong to a list that is linked to a SharePoint site or if it is not a column designated as a calculated column on the SharePoint site, you will get a run-time error.

See Also

Reference

ListColumn Interface

ListColumn Members

Microsoft.Office.Interop.Excel Namespace