老师好。如何判断sheet中某一个单元格是否合并单元格,如果是,合并的行数是多少?
Dim Book As New XLS.Book("e:\123.xls")Dim Sheet As XLS.Sheet = Book.Sheets(0)Dim i As IntegerFor i= 1 To sheet.rows.count-1 判断 sheet(i,1) 是否合并单元格
如果是,合并了几行,合并了几列
next
谢谢老师!