G
Guest
Hello,
I want to create a listbox in VBA. I have the error Run-Time #424 with the
following:
Private Sub UserForm1_initialize()
With ListBox1
..AddItem "macro1"
..AddItem "macro2"
..AddItem "macro3"
..AddItem "macro4"
..AddItem "macro5"
End With
End Sub
Thanks,
I want to create a listbox in VBA. I have the error Run-Time #424 with the
following:
Private Sub UserForm1_initialize()
With ListBox1
..AddItem "macro1"
..AddItem "macro2"
..AddItem "macro3"
..AddItem "macro4"
..AddItem "macro5"
End With
End Sub
Thanks,