I have the following in Workbook_Open
getting a run time error "object required" dont get it. Complete workbook attachedCode:Private Sub Workbook_Open()
frmUserForm1.Show
end sub
Printable View
I have the following in Workbook_Open
getting a run time error "object required" dont get it. Complete workbook attachedCode:Private Sub Workbook_Open()
frmUserForm1.Show
end sub
Check the name of the form you are calling. :)
Artik
cmbComboBox_Change() is misnamed
Making this one change to your code worksThis entire UserForm Code works a treatCode:Private Sub ComboBox1_Change()
Code:Private Sub ComboBox1_Change()
Sheet1.Range("I:I").Cells(ComboBox1.ListIndex + 2).Copy
End Sub
Private Sub UserForm_Initialize()
UserForm1.ComboBox1.RowSource = "H2:H19"
End Sub