Dear All,
Could you please help me to create new Userform and including combobox which I can filter and select material name (material names need to be took from any excel sheet) and when I click ok then this need to be saved "account" sheet (each time need insert new row). Textbox1 will be "date" (01/01/2018).
I appreciate your help.
Just created macro but cannot workI appreciate your help.
Code:
[LEFT][COLOR=#333333][FONT=monospace]Private Sub CommandButton1_Click()
If ComboBox1 = vbNullString Or TextBox1 = vbNullString Or Then
MsgBox "Please add date"
Else
Sheets("account" + ComboBox1.Value).Rows(6).Insert
Sheets("account" + ComboBox1.Value).Range("C6") = TextBox1
Unload UserForm1
End sub[/FONT][/COLOR][/LEFT]