'Declaration
Function End( _ ByVal direction As Direction, _ Optional ByVal includeHidden As Boolean _ ) As IRange
'Usage
Dim instance As IRange Dim direction As Direction Dim includeHidden As Boolean Dim value As IRange value = instance.End(direction, includeHidden)
IRange End( Direction direction, bool includeHidden )
Parameters
- direction
- The direction in which to move.
- includeHidden
true
if hidden cells are included; otherwise,false
.
Return Value
An IRange object that represents the cell at the end of the region that contains the source range.