i have the simple bellow code, and i try to learn the listbox.
can anyone tell me how i make the cell or the row background Red,when the cellvalue contain the error world ?
[code]Dim CellName as String
Dim CellValue as text
for c as integer =0 to lstB1.ListCount -1
CellName = lstB1.Cell(c,0)
CellValue = CellName.ToText
if CellValue.BeginsWith ("error:") then
txterrors.Text =txterrors.Text =CellValue
lstB1.RowTag(c) = "error"
end if