'Declaration
Public Function GetFormula( _ ByVal first As Boolean, _ ByVal contextRow As Integer, _ ByVal contextColumn As Integer _ ) As String
'Usage
Dim instance As BuiltInDataValidation Dim first As Boolean Dim contextRow As Integer Dim contextColumn As Integer Dim value As String value = instance.GetFormula(first, contextRow, contextColumn)
public string GetFormula( bool first, int contextRow, int contextColumn )
Parameters
- first
true
to return the first part of the data validation; otherwise, return the second part of the data validation.- contextRow
- An integer value indicates the context row index.
- contextColumn
- An integer value indicates the context column index.
Return Value
A string value represents the value or formula associated with the specified part of a data validation.