I’m trying to use some simplified code when dealing with cellclicks within a listbox. I know that the CellTag is a variant and the autocomplete identifies it as such so that:
Me.CellTag(row, column).BooleanValue
Is recognized as correct. However, when I use the following to switch cells on and off:
Me.CellTag(row, Column).BooleanValue = Not Me.CellTag(row, column).BooleanValue
I get a compiler error - “Cannot assign a property to this value”.