Jump to content

How to get table cell one by one?


jmp
 Share

Go to solution Solved by AlessandroAvolio,

Recommended Posts

Hello.

I have IETable,

Get by this code

$oTable = _IETableGetCollection ($oIE, 1)
$aTableData = _IETableWriteToArray ($oTable)

Local Const $iArrayNumberOfCols = UBound($aTableData, $UBOUND_COLUMNS)
Local Const $iArrayNumberOfRows = UBound($aTableData, $UBOUND_ROWS)
Local $aArraySubstringsRow[$iArrayNumberOfCols]

;~ Local $aExtract = _ArrayExtract ($aTableData, 1, 1, 1, -1)
;~ MsgBox(0, "", $iArrayNumberOfCols)

;~ _ArrayDisplay($aExtract)
Local Const $iArrayRowIndex = 1


Local $sSubstring

For $i = 0 To $iArrayNumberOfCols - 1
    $sSubstring = StringLeft($aTableData[$iArrayRowIndex][$i], 2)
    $aArraySubstringsRow[$i] = $sSubstring
Next

_ArrayDisplay($aArraySubstringsRow, "This is a row")

and i want to use cell (52, 82, 18, 9,...10) one by one for selecting dropdown box in internet explorer.

Capture.PNG.76879e0b104576de2fd86c7174f925df.png.0209a742fbbdc20c4eda00844791f094.png

So, How to show/get/extract cell one by one (in msgbox)? 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...