Is there a method that can search an html table?
Currently I created a somewhat complicated Loop to search each row, two columns for a date and doc name in html table. It works, but it can be very slow. So I am hopping to find a faster way. I was hoping to find meyhod that does this faster.
thx for any ideas.
Thx for the help ;-)
Hey HTML table, i mean is it a webtable?.
Are there multiple occurrences of the same doc name in the table.
dDate = "DD/MM/YYYY"
sDoc = "abc.doc"
If its a webtable u can get the row number using doc name
iRow = B().P().WebTable("").GetRowWithCellText(sDoc)
then use the same row num and check date value and validate the same.
sCellValue = B().P().WebTable("").GetCellData(iRow, columnNumber)
if Instr(1, sCellValue, dDate, 1) > 0 Then
'Value found in correct row
Do try this and post your observations.
If not WebTable post the HTML code of table
Winds of Change
Sorry for the long time in rsponding. Other duties got in my way. ;-)
The code worked perefectly. Thx!