I use a routine no Check All Listbox.CellCheck Cell’s at once.
The issue is: the first time I try to test all listbox.cellcheck cells it returns FALSE. The second time I test it returns TRUE.
How I set all Listbox.CellCheck ?
Like this:
For i = 0 to LbxPecas.ListCount -1
LbxPecas.CellCheck(i,1) = True // the checkbox is in the second column
Next
How I test the value?
Like this:
If LbxPecas.CellCheck(i,1)= True Then
What am I doing wrong?
Thanks in advance.