selgridcell function

Select grid cells