如何找出最后使用过的Row C#Interop [英] How to find out last used Row C# Interop
本文介绍了如何找出最后使用过的Row C#Interop的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是bala.i在c#互操作性概念中非常新.我想知道如何找出C#Interop概念中的上一个Usedrow.
示例:
我有一张Excel工作表.我用于lastrow的工作表是"500",那么如何动态查找最后一行是500.:confused:
提前谢谢
由
Bala
Hi,
This is bala.i am very new in c# interop concept. i want know how to findout last Usedrow in C# Interop concept.
Example:
I have one excel sheet.That sheet i am used lastrow is "500" then how to findout dynamically last row is 500.:confused:
Advance thankyou
By
Bala
推荐答案
Venkatflower_87,
您可以在Cell_Leave中添加事件,并将e.RowIndex保存到静态全局变量"Last_Row"
希望对您有帮助
:)
Hi Venkatflower_87,
You can add an event in Cell_Leave and save e.RowIndex to a static global variable "Last_Row"
I hope this help
:)
这篇关于如何找出最后使用过的Row C#Interop的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文