Hi,
I want to put auto-numbering for the listbox on column 0 based from the value of column 1
dim i as Integer
for i = 0 to Listbox1.ListCount -1
Listbox1.Cell(i,0)=str(val(nomor.text)+1)
nomor.Text=str(val(nomor.text)+1)
next
this is work, but how to keep the number is the same while column 1 has duplicate value
i am expecting the result like this, and so on depend to the listbox’s total row.
any helps?
thanks
regards,
arief