使用C#删除Excel WorkSheet [英] Deleting Excel WorkSheet using C#
本文介绍了使用C#删除Excel WorkSheet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用C#删除Excel文件中的WorkSheet
How to Delete the WorkSheet in an Excel File using C#
推荐答案
这应该是您需要的答案:
http://msdn.microsoft.com/en-us/library/s9kdkks3 (v = vs.80).aspx [
This should be the answer you need:
http://msdn.microsoft.com/en-us/library/s9kdkks3(v=vs.80).aspx[^]
Just note that you cannot delete the last sheet in a workbook. That is, if you have three sheets, you can delete two of them but not the third.
这篇关于使用C#删除Excel WorkSheet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文