C# 取消隐藏Excel单元格中的网格线
使用颜色填充就行,Excel中颜色数值对应表 https://docs.microsoft.com/en-us/previous-versions/office/developer/office-2007/cc296089(v=office.12)?redirectedfrom=MSDN
Range range = workSheet.get_Range("A1", "AL1");
range.Font.Size = 0;
将A1,AL1指定范围内的单元格填充为白色,这样网线就没了