C# 判断Excel单元格是否是合并单元格,遇到问题,找到答案了,直接上代码,不多解译。
using Excel = Microsoft.Office.Interop.Excel;
Excel.Range curentCell = (Excel.Range)worksheet.Cells[row, column];
bool temp = (bool)curentCell.MergeCells;
if (temp)
continue;
免费使用 功能无限制
方便快捷,支持正则表达式、无需安装功能齐全、支持定制无广告、无插件,放心使用。