'Declaration
Public Shared Function GetNextActiveCellPosition( _ ByVal worksheet As IWorksheet, _ ByVal foward As Boolean, _ ByRef command As Command _ ) As CellReference
'Usage
Dim worksheet As IWorksheet Dim foward As Boolean Dim command As Command Dim value As CellReference value = UIHelper.GetNextActiveCellPosition(worksheet, foward, command)
public static CellReference GetNextActiveCellPosition( IWorksheet worksheet, bool foward, out Command command )
Parameters
- worksheet
- foward
- A boolean value indicates affected moving direction from left to right or not
- command
- The command can be used to move the active to the result position.
Return Value
New suggest position of active cell. If it is Empty then does not care about new position