Certainly @June and thank you for trying. I have spent nearly all day on this and still not successful
I initialise the listview thus
Code:
With ListView0
.ListItems.Clear
.ColumnHeaders.Clear
.ColumnHeaders.Add , , , 300
.ColumnHeaders.Add , , "Col2", 1000 '
.ColumnHeaders.Add , , , 300
.ColumnHeaders.Add , , "Col4", 7000
.ColumnHeaders.Add , , "Col5", 2000
.View = lvwReport
.GridLines = True
.FullRowSelect = True
.Checkboxes = True
End With
And populate it with this (called for each new row)
Code:
With ListView0
Set thelistview = .ListItems.Add
thelistview.SubItems(1) = "111"
thelistview.SubItems(2) = "222"
thelistview.SubItems(3) = "333"
thelistview.SubItems(4) = "444"
End With
Private Sub ListView0_ItemCheck(ByVal Item As Object) is the click event for a checkbox. is in here I want to clear any exiting checks, leaving only the current one.
Private Sub ListView0_ItemClick(ByVal Item As Object) is the click event for the row.
If any more needed, please ask.