| || |
How to read column header from a listview
I have a list view with 16 columns and few rows. I can able to read the data from row, column by using the code below. CAn anyone suggest how to capture the column header?
'Set the TListView object to a ListView control in Explorer.
Set lv = ListView("Parent.Name=SRSPickList")
'Get the Items collection for the ListView control.
Set its = lv.Items
For Each o In its
TestLog.Comment o.Item(1) & ", " & o.Item(2)
Re: How to read column header from a listview
By using below code you can read the column name.
strCurrItem = HTMLTable("ID=" & strTableID).GetCellText(i, intColToLook)