Arbortext Command Language > Functions by Alphabetical Listing > tbl_cell_next_galley_cell
  
tbl_cell_next_galley_cell
cellId = tbl_cell_next_galley_cell(cellId[, wrap])
This function returns the ID of the cell after cell cellId in galley order, or h:tblNullToid if no such cell exists. If wrap is present and non-zero, tbl_cell_next_galley_cell will return the ID of the first cell in the sequence when the last cell in the sequence is reached.