Complete the code to merge cells A1 to B1 in Google Sheets using Apps Script.
sheet.getRange('A1:B1').[1]();
The merge() method merges all cells in the specified range into one cell.
Complete the code to merge cells horizontally across columns in the range A2 to D2.
sheet.getRange('A2:D2').[1]();
The mergeAcross() method merges cells horizontally across columns but keeps rows separate.
Fix the error in the code to merge cells vertically in the range B3 to B6.
sheet.getRange('B3:B6').[1]();
The mergeVertically() method merges cells vertically in the specified range.
Fill both blanks to merge cells in range C4 to E5 and then unmerge them.
sheet.getRange('C4:E5').[1](); sheet.getRange('C4:E5').[2]();
First, merge() merges the cells fully, then breakApart() separates them back.
Fill all three blanks to merge cells A7 to B8 horizontally, then vertically, then unmerge them.
sheet.getRange('A7:B8').[1](); sheet.getRange('A7:B8').[2](); sheet.getRange('A7:B8').[3]();
First, mergeAcross() merges cells horizontally, then mergeVertically() merges vertically, and finally breakApart() separates them.