How to get specific Range in Excel through COM Interop?(如何通过 COM 互操作获取 Excel 中的特定范围?)
问题描述
我必须通过 COM 互操作读取 excel 文件.我使用这个搜索一个特定的字符串:
I have to read an excel file through a COM interop. I search for a specific string using this:
现在我想以foundRange为起点来获取另一个范围.
Now I want to use the foundRange as a starting point to get another range.
类似的东西
我没有办法做到这一点.有吗?
I don't see a way to do this. Is there one?
推荐答案
好的,睡了一会儿我找到了答案.
Okay, after some sleep i have found the answer.
这篇关于如何通过 COM 互操作获取 Excel 中的特定范围?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!