i have customer database and got userform with listbox,
but every time open form and click a record on list box get the run time error,
could not find the specified object, and highlight this line (in red):
please help i have been looking for help for this error for awhile now and reponse. ( I am attaching the file)
thanks
but every time open form and click a record on list box get the run time error,
could not find the specified object, and highlight this line (in red):
Code:
Private Sub ContactForm_Click()
Dim say As Long, a As Byte
For a = 0 To 11
'Controls("textbox" & a + 1) = ContactForm.Column(a)
[B][COLOR="Red"]Controls("textbox" & a + 1) = ContactForm.List(a)[/COLOR][/B]
Next
Sheets("ContactsInvoicing").Range("A:A").Find(ContactForm.Text).Activate
say = ActiveCell.Row
Sheets("ContactsInvoicing").Range("A" & say & ":L" & say).Select
TextBox15 = ContactForm.ListIndex + 1
End Sub
please help i have been looking for help for this error for awhile now and reponse. ( I am attaching the file)
thanks