How to check if a range exists in Excel using C#/VSTO

I'm currently working on a C# project using VSTO and Excel. The fact is that I'm saving Ranges in my program, but when I delete this range on Excel, it give me an error in the program. And i don't find a way to check if the cell still exist or not.

Do you know a way to check if the range exist or not?

链接地址: http://www.djcxy.com/p/67836.html

上一篇: 焦点不会返回到活动工作表

下一篇: 如何使用C#/ VSTO检查Excel中是否存在范围