Hi there.
I need some help please. The Item in the SearchList must be added to the Destination list but only the field name appears but no the data. Any suggestion how to solve the problem please.
Thanks
If SearchList.ListCount > 0 Then
' Build a comma-delimited string with all columns of the first row
firstItem = ""
For i = 0 To SearchList.ColumnCount - 1
If i > 0 Then firstItem = firstItem & ","
firstItem = firstItem & SearchList.Column(i, 0)
Next i
' Add the constructed string to the destination listbox
destListbox.AddItem firstItem
End If
View attachment 117584
I need some help please. The Item in the SearchList must be added to the Destination list but only the field name appears but no the data. Any suggestion how to solve the problem please.
Thanks
If SearchList.ListCount > 0 Then
' Build a comma-delimited string with all columns of the first row
firstItem = ""
For i = 0 To SearchList.ColumnCount - 1
If i > 0 Then firstItem = firstItem & ","
firstItem = firstItem & SearchList.Column(i, 0)
Next i
' Add the constructed string to the destination listbox
destListbox.AddItem firstItem
End If
View attachment 117584
Last edited: