I am trying to find the merged cells in my sheet, but when I run the code from the scripts editor i get this error.
Exception: You must select all cells in a merged range