阅读背景:

如何在excel表格中获取已占用单元格的范围

来源:互联网 

I use C# to automate an excel file. I was able to get the workbook and the sheets it contains. If for example I have in sheet1 two cols and 5 rows. I wanted o get the range for the occupied cells as A1:B5. I tried the following code but it did not give the correct result. the columns # and row # were much bigger and the cells were empty as well. I use C# to automate an excel file. I was able




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: