Determines whether the range of cells contains another specified range of cells.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As CellRange
Dim range As CellRange
Dim value As Boolean
value = instance.Contains(range) |
Parameters
- range
- CellRange object that contains the other range of cells
Return Value
true if the range contains the other range;
false otherwise
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also