Syntax
'Declaration
Public Overloads Function Add( _
ByVal As RangeReference, _
ByVal As GrapeCity.Spreadsheet.DataValidationType, _
ByVal As GrapeCity.Spreadsheet.DataValidationErrorStyle, _
ByVal As GrapeCity.Spreadsheet.DataValidationOperator, _
ByVal As String, _
Optional ByVal As String _
) As GrapeCity.Spreadsheet.DataValidation
'Usage
Dim instance As DataValidationManager
Dim rangeRef As RangeReference
Dim type As GrapeCity.Spreadsheet.DataValidationType
Dim errorStyle As GrapeCity.Spreadsheet.DataValidationErrorStyle
Dim operator As GrapeCity.Spreadsheet.DataValidationOperator
Dim formula1 As String
Dim formula2 As String
Dim value As GrapeCity.Spreadsheet.DataValidation
value = instance.Add(rangeRef, type, errorStyle, operator, formula1, formula2)
public GrapeCity.Spreadsheet.DataValidation Add(
RangeReference ,
GrapeCity.Spreadsheet.DataValidationType ,
GrapeCity.Spreadsheet.DataValidationErrorStyle ,
GrapeCity.Spreadsheet.DataValidationOperator ,
string ,
string
)
Parameters
- rangeRef
- type
- errorStyle
- operator
- formula1
- formula2
See Also