This is quite primative, but you can use something like this (on the UserForm1 code page - drop a combo box and a command button first.):
Code:
Private Sub CommandButton1_Click()
Sheets.Add
End Sub
Private Sub UserForm_Initialize()
Dim i As Integer
For i = 1 To Sheets.Count
ComboBox1.AddItem Sheets.Item(i).Name
Next i
ComboBox1.ListIndex = 0
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.