Checks whether the specified view row and column indexes are valid coordinates in the sheet's data model, and if so sets the row and column fields to the model row and column indexes.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Cell
Dim viewrow As Integer
Dim viewcolumn As Integer
Dim value As Boolean
value = instance.IsValid(viewrow, viewcolumn) |
Parameters
- viewrow
- Row index (in the view)
- viewcolumn
- Column index (in the view)
Return Value
True if view row and view column are defined in the data model for the sheet; false otherwise
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also