Hi all,
So i have this userform which can creates new sheet upon clicking a button. But at the same time i have a combobox which also shows the name of the sheet list.
However, I was not able to display the newly created sheets name onto the userform combobox.
This is my current code
Anyone has any idea?
So i have this userform which can creates new sheet upon clicking a button. But at the same time i have a combobox which also shows the name of the sheet list.
However, I was not able to display the newly created sheets name onto the userform combobox.
This is my current code
VBA Code:
Private Sub UserForm_Initialize()
For Each ws In Worksheets
If ws.Name <> "LogBook" Then
Me.ComboBox1.AddItem ws.Name
End If
Next ws
End Sub
Anyone has any idea?