VBA判断Excel选择区域是否有合并单元格

如题所述

If Range("A1").MergeCells = True Then
……
End If
或者
If IsNull(Range("A1:I9").MergeCells) Then
……
End If
温馨提示:答案为网友推荐,仅供参考