'Declaration
Public Overloads Overrides NotOverridable Function Add( _ ByVal rangeRef As Reference, _ ByVal item As DataValidator, _ Optional ByVal replacing As Boolean _ ) As Boolean
'Usage
Dim instance As DataValidations Dim rangeRef As Reference Dim item As DataValidator Dim replacing As Boolean Dim value As Boolean value = instance.Add(rangeRef, item, replacing)
Parameters
- rangeRef
- A Reference indicates the cell range to apply new DataValidator item.
- item
- The DataValidator object to apply for the specified range.
- replacing
- if set to
true
, all items, which belong to the specified range, will be clear.