In design time Combo2.visible has been set to FalseCode:If MATCell2 > 0 Then Combo2.Visible = True If Combo2.Visible = True Then I = I + 1 End If End If
When MATCells > 0 is true during run time Combobox2 is visible.
Why the statement next
If Combo2.Visible = True Then
is not true ?