OK, that's awesome, worked great! The only thing I had to do was add some braces that are missing in the for loop (and use the same "statusIncomplete" variable throughout)..Really appreciate the help,Kam.Reposting your script for the future benefit of others:var statusIncomplete = false, rows ...