I have the following option:
Dim comboitems() As Variant
which I use throughout the code as an array containing the values โโof the ComboBox control.
At a specific point in the code, I need to clear / empty / null comboitems() . How can i do I have tried all of the following options without any success.
comboitems = "" comboitems = Null comboitems = Nothing Set comboitems = "" Set comboitems = Null Set comboitems = Nothing comboitems() = "" comboitems() = Null comboitems() = Nothing Set comboitems() = "" Set comboitems() = Null Set comboitems() = Nothing
The error I am getting is this:

source share