Hi Cam,
Thanks for your question! Are you using Office Scripts? If so, in order to clear the contents of a merged cell, you need to specify the range address for the entire merged range - for example, if you've merged A1:B2 into a single cell, you need to reference it using that address (instead of just A1). Like this:
function main(workbook: ExcelScript.Workbook) {
let worksheet = workbook.getActiveWorksheet();
worksheet.getRange('A1:B2').clear(ExcelScript.ClearApplyTo.contents);
// TODO: clear other cells
worksheet.getRange('B13').setValue(new Date().toDateString());
}
Let me know if that helps or if you have any questions!