从选定的单元格中找到表的行号 [英] find table row number from selected cell

查看:61
本文介绍了从选定的单元格中找到表的行号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从选定的单元格中找到表中的行号(Excel 2010).
我可以从ActiveRow.RowSelection.Row找到工作表行号.但是我想知道表中的行号是什么.

How do I find the row number in a table (Excel 2010) from the selected cell.
I can find the sheet row number from ActiveRow.Row or Selection.Row. But I want to know what row number in the table this is.

推荐答案

    Selection.Row - Selection.ListObject.Range.Row

这篇关于从选定的单元格中找到表的行号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆