📜  vba 表头名称 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:56.710000             🧑  作者: Mango

代码示例1
Dim tb As ListObject
'assumes Table is the first one on the ActiveSheet
Set tb = ActiveSheet.ListObjects(1)
MsgBox tb.DataBodyRange.Cells(2, tb.ListColumns("header4").Index)