Worksheet worksheet
Range mergeArea = worksheet.Range["SB38"].MergeArea;
//获取合并格子的数
int count = mergeArea.Cells.Count;
//获取合并列数
var mergeColumns = mergeArea.Cells.Columns.Count;
Worksheet worksheet
Range mergeArea = worksheet.Range["SB38"].MergeArea;
//获取合并格子的数
int count = mergeArea.Cells.Count;
//获取合并列数
var mergeColumns = mergeArea.Cells.Columns.Count;