Dears,

I have a problem with my VBA code.

I have over 20 Userform which have one textbox with the same name txtsejobcode1.

Additional I have a UserForm in which user can search for a needed job code.

I wanted that after a user will choose a job code the job code will be added in to the active userform with the textbox named txtsejobcode1.

I could build this:

Dim K As Object
For Each K In UserForms
If TextBox1.Text <> "" Then
    UserForms.Item(0).txtsejobcodeneu1.Value = TextBox1.Text
Else
    UserForms.Item(0).txtsejobcodeneu1.Value = ComboBox1.Text
End If
Next K
But in the line with Combobox I'm getting a error 438

Run Time error 438
Object doesn't support this property or method.

Please help

PS. Sorry for my english