internal static CellRef GetNextAdjacent(this CellRef cellRef, int mostRightColumn) { return(cellRef.ColumnNumber >= mostRightColumn?cellRef.GetFirstInNextRow() : cellRef.GetNextRight()); }