I'm looking for a way of modifying the script shown in the answer to the question submitted via the below link
to include the current row (B) and the row above (A) when inserting the word 'CLOSE' into a given cell on the current row (B)?
Would using one of Google's 23 April 2018 updates do the trick?
Sheet.getRowGroup(rowIndex, groupDepth) Sheet.getRowGroupControlPosition() Sheet.setRowGroupControlPosition(position)
If so, could you please show examples of how these would be inserted into the script shown in the link?