*Grid.BeforeRowColChange LPARAMETERS nColIndex if nColIndex = this.ColumnCount and ; !mdown() and inlist(lastkey(),9,13,4) && Tab, enter, RightArrow keyboard '{DNARROW}' && Stuff down arrow to KB buffer endifThis would work in case columns reordered or you're on last row of visible cells too.