Hi lillt91,
Just another version to avoid looping though not sure how much you get the speed gain://////////////////////////////////////////////
ncol=wks.ncols;
wname$=%H; //workbook name
w2m -r 0; //convert to matrix directly
sum(%H); //get stats of matrix
vmax=sum.max; //max
imax=sum.imax; //max position
maxrow=int(imax/ncol)+1; //row# in wks
maxcol=imax-ncol*int(imax/ncol); //col# in wks
window -a %(wname$); //reactivate worksheet
dlgrowcolgoto r1:=$(maxrow) c1:=$(maxcol); //highlight the cell
//////////////////////////////////////////////
--Hideo Fujii
OriginLab