Scope: Public
Event WillNavigateToCell(CurrentRow as integer, CurrentColumn as integer, XDirection as integer, YDirection as integer, byref NextRow as integer, byref NextColumn as integer)
Event fires when the user is navigating between cells using the keyboard.

CurrentRow and CurrentColumn represent the cell currently selected or being edited.

XDirection is -1 for left or 1 for right movement

YDirection is -1 for up or 1 for downward movement

NextRow and NextColumn represent the next cell to get focus and are byref. Change their values to set a different cell to receive the focus.