set cellcheckbox in list box control


I write code for set cellcheckbox in list box control is true

code : listbox2.cellcheck(0,0) = true

but error

I’m not sure it can be done or not.

help me prease…
thank you

That’s the correct syntax. What is the error? Is column 0 set to be a checkbox?

I’m write cote : me.ColumnType(0) = Listbox.TypeCheckbox

in Open Event

[quote=53886:@wittawat suwannarak]code : listbox2.cellcheck(0,0) = true

but error[/quote]
What is the error?

better yet is there actually any data
If there’s now row then its likely an out of bounds exception