A
aftamath77
My code:
Private Sub UserForm_Initialize()
'populate the shell od dropdown list
With ComboBox1
.ListRows = 15
.AddItem ("3.500")
.AddItem ("4.500")
.AddItem ("5.563")
.AddItem ("6.625")
.AddItem ("8.625")
.AddItem ("10.750")
.AddItem ("12.750")
.AddItem ("14.000")
.AddItem ("16.000")
.AddItem ("18.000")
End With
End Sub
I would like to build a userform that would automate writing code. If a
user has a new size that needs to be permanently added to the list, I would
like the code to insert the new line under this sub.
Example: The New size is 20.5. After running the userform, the code will
look like this:
....
....
.AddItem ("16.000")
.AddItem ("18.000")
.AddItem ("20.500")
End With
End Sub
Private Sub UserForm_Initialize()
'populate the shell od dropdown list
With ComboBox1
.ListRows = 15
.AddItem ("3.500")
.AddItem ("4.500")
.AddItem ("5.563")
.AddItem ("6.625")
.AddItem ("8.625")
.AddItem ("10.750")
.AddItem ("12.750")
.AddItem ("14.000")
.AddItem ("16.000")
.AddItem ("18.000")
End With
End Sub
I would like to build a userform that would automate writing code. If a
user has a new size that needs to be permanently added to the list, I would
like the code to insert the new line under this sub.
Example: The New size is 20.5. After running the userform, the code will
look like this:
....
....
.AddItem ("16.000")
.AddItem ("18.000")
.AddItem ("20.500")
End With
End Sub