Quantcast
Channel: Modules & VBA
Viewing all articles
Browse latest Browse all 21

Help removing an item from a combobox.

$
0
0
Hi I have the following code, that puts all names from the name manager into a combo box and removes duplicates and other certain phrases, in this case "CutOffTesting!_FilterD". I want to remove/ignore a second phrase, but can't seem to get it to work.

Private Sub UserForm_Initialize()
' Clear the ComboBox to ensure no duplicate values
ComboBox1.Clear

' Create a collection to store unique base names
Dim BaseNames As Collection
Set BaseNames = New Collection

' Loop...

Read more

Viewing all articles
Browse latest Browse all 21

Trending Articles