Hello,
I have created a user form that lets me enter data onto different worksheets within the workbook depending on a combobox selection. My problem arises when I click the command button to open the 2nd user form. It opens, but the combobox does not display the entries I want to Show.
Sub UserForm1_Initialize()
With ComboBox1
.AddItem "Tuesday"
.AddItem "Wednesday"
.AddItem "Friday"
.Additem "Saturday"
End With
End Sub
The code above is what I am using and is the same to the code in UserForm, used for the data entry. I have tried to rename the combobox to ComboBox11 and still it wont Work. Also, I have two DTPicker boxes below my combobox. I would like these to be blank until the user selects a date, but I cannot get them to clear. I have tried lots of different code suggestions from multiple web sites, yet nothing works.
Does anyone have an inclining to why my combobox wont display the items and I cant blank the datepicker fields?
I have created a user form that lets me enter data onto different worksheets within the workbook depending on a combobox selection. My problem arises when I click the command button to open the 2nd user form. It opens, but the combobox does not display the entries I want to Show.
Sub UserForm1_Initialize()
With ComboBox1
.AddItem "Tuesday"
.AddItem "Wednesday"
.AddItem "Friday"
.Additem "Saturday"
End With
End Sub
The code above is what I am using and is the same to the code in UserForm, used for the data entry. I have tried to rename the combobox to ComboBox11 and still it wont Work. Also, I have two DTPicker boxes below my combobox. I would like these to be blank until the user selects a date, but I cannot get them to clear. I have tried lots of different code suggestions from multiple web sites, yet nothing works.
Does anyone have an inclining to why my combobox wont display the items and I cant blank the datepicker fields?