10-07-2015, 09:14 PM
Find the below snippet to give a quick idea how to handle this scenario.
Global Data Table:
OutPut:-
Code:
WL1Selection = DataTable("List1")
Print "WL1- " & WL1Selection
Print "--------------------------"
For iWL2ListItem = 1 To DataTable.GetRowCount
DataTable.SetCurrentRow iWL2ListItem
WL2ListItme = DataTable(WL1Selection)
If WL2ListItme <>"" Then
Print WL2ListItme
End If
Next
Code:
List1 | AA | BB | CC |
-------------------------
AA | 1 | 4 | 7 |
-------------------------
BB | 2 | 5 | 8 |
-------------------------
CC | 3 | | 9 |
-------------------------
OutPut:-
Code:
WL1- AA
--------------------------
A
B
C
WL1- BB
--------------------------
D
E
WL1- CC
--------------------------
G
H
I
Thanks,
SUpputuri
SUpputuri