Sam
Sam

Reputation: 746

Hide ComboBox when opening a userform

I have a ComboBox called ComboBox1 and I want it to be hidden when I open the userform. is there a way to do this?

Upvotes: 0

Views: 328

Answers (1)

Victor Colomb
Victor Colomb

Reputation: 348

Put this in the userform code or append to your UserForm_Initialize.

Private Sub UserForm_Initialize()
  ComboBox1.Visible = False
End Sub

Upvotes: 1

Related Questions