This is a part of my code in VB:
.
.
i want to compare the value in a cell in excel to the value in the resultset. the problem is that <val_arr> in rsora1![ ] is a array variable(of type string), ie, a(i-3)=val_arr. How do i go about it???
.
.
Code:
Dim rsora1 As ADODB.Recordset
.
.
Set cnOra = New ADODB.Connection
.
.
Set rsora1 = New ADODB.Recordset
.
.
rsora1.CursorLocation = adUseServer
.
.
If Worksheets.Item("sheet1").Cells(j + b, i).Value <> rsora1![val_arr] Then
Comment