使用C#查找excel中所有选定的单元格 [英] Find all selected cells in excel using c#
本文介绍了使用C#查找excel中所有选定的单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想遍历用户已选择的所有单元格,然后使用这些单元格.我无法找到如何使用c#在excel中识别选定的单元格.如果不是全部,如何检查特定的单元格是否被选中?
请帮忙.
谢谢
Hi,
I want to loop through all the cells that have been selected by the user and then work with those. I am not able to find how to identify selected cells in excel using c#. If not all, how does one check if a particular cell is selected or not?
Please help.
Thanks
推荐答案
从此开始
http://stackoverflow.com/questions/2110327/excel-getting-the-selected-行后退 [^ ]
还是为什么不使用宏?
http://support.microsoft.com/kb/213413 [
Begin with this
http://stackoverflow.com/questions/2110327/excel-getting-the-selected-rows-back[^]
or why don''t you use a macro?
http://support.microsoft.com/kb/213413[^]
这篇关于使用C#查找excel中所有选定的单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文