Invalid Qualifier
Posted by Duane Kennerson on December 05, 2001 5:36 PM
Here is the code:
Private Sub insertnewemployees()
'insert employee information into database
Dim a As Integer
Dim x As Integer
Dim aCount As Integer
x = Range("g2")
a = 1
aCount = 71
For a = 1 To aCount
Sheets("Stuff").Select
Range("b" & x) = TextBox & a.Text
a = a + 1
Range("c" & x) = TextBox & a.Text
a = a + 1
Range("d" & x) = TextBox & a.Text
a = a + 1
Range("e" & x) = TextBox & a.Text
a = a + 1
x = x + 1
Next a
End Sub
"TextBox & a.Text" is where I am having a problem, it says "a" is an invalid qualifier. Can anybody help???
Thanks in advance,
Duane