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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also