Returns an IRange representing the next or previous unlocked and visible cell or null if no such cell is found.
'Declaration
Function FindUnlockedAndVisible( _
ByVal As System.Boolean, _
ByVal As System.Boolean _
) As IRange
'Usage
Dim instance As IRange
Dim vertical As System.Boolean
Dim previous As System.Boolean
Dim value As IRange
value = instance.FindUnlockedAndVisible(vertical, previous)
IRange FindUnlockedAndVisible(
System.bool ,
System.bool
)
Parameters
- vertical
- Searches up or down if true otherwise searches left or right.
- previous
- Searches left or up if true otherwise searches right or down.
Return Value
An IRange representing the next or previous unlocked and visible cell or null if no such cell is found
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