ExcelSetValidationData Method (IExcelBiffRead)
In This Topic
Sets the validation data for a range of cells in the specified sheet.
Syntax
'Declaration
Sub ExcelSetValidationData( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As ArrayList, _
ByVal () As String, _
ByVal As ArrayList, _
ByVal As Boolean _
)
'Usage
Dim instance As IExcelBiffRead
Dim valSheet As Integer
Dim inputSheet As Integer
Dim inputRgn As ArrayList
Dim valItems() As String
Dim valRgnList As ArrayList
Dim isEditable As Boolean
instance.ExcelSetValidationData(valSheet, inputSheet, inputRgn, valItems, valRgnList, isEditable)
void ExcelSetValidationData(
int ,
int ,
ArrayList ,
string[] ,
ArrayList ,
bool
)
Parameters
- valSheet
- Sheet that contains the validation list cell
- inputSheet
- Sheet that contains the input cell range
- inputRgn
- Input cell range
- valItems
- Validation data if data is direct, null otherwise
- valRgnList
- Validation cell range list
- isEditable
- Display and behavior flags for the validation combo
See Also