A
abxy
ok, I've created a userform, that so far does this when i click on m
command button:
Range("A8").Select
Do
Activecell.Offset(1, 0).Select
Loop Until ActiveCell.Value = TextBox1.Value
If ActiveCell.Value = TextBox1.Value Then
ActiveCell.Offset(0, 7).Select
ActiveCell.Value = ComboBox1 & ComboBox2
End If
Now, what i'm doing is basically saying is start in A8, and go dow
until you find the number that i put in TextBox1, once you find th
number, go right 7 spaces and put the values of combobox1 and 2 in th
cell...This works perfectly fine...but i need to amp it up
notch...this is what i need to know how to do:
what code do i add if i want it to go ONLY from A8 to A275, and o
sheet1 thru sheet3, and if it doesn't find a cell with the value tha
equals Textbox1, it goes to a different document and searches from A
to A275, on sheet1 thru sheet3, and if it still doesn't find it, i
returns a message box saying "Didn't find [textbox1 value]"
I know i'm asking a lot, but this would be of great help...any help i
the least would be greatly appreciatted
Thanks in advance all! :
command button:
Range("A8").Select
Do
Activecell.Offset(1, 0).Select
Loop Until ActiveCell.Value = TextBox1.Value
If ActiveCell.Value = TextBox1.Value Then
ActiveCell.Offset(0, 7).Select
ActiveCell.Value = ComboBox1 & ComboBox2
End If
Now, what i'm doing is basically saying is start in A8, and go dow
until you find the number that i put in TextBox1, once you find th
number, go right 7 spaces and put the values of combobox1 and 2 in th
cell...This works perfectly fine...but i need to amp it up
notch...this is what i need to know how to do:
what code do i add if i want it to go ONLY from A8 to A275, and o
sheet1 thru sheet3, and if it doesn't find a cell with the value tha
equals Textbox1, it goes to a different document and searches from A
to A275, on sheet1 thru sheet3, and if it still doesn't find it, i
returns a message box saying "Didn't find [textbox1 value]"
I know i'm asking a lot, but this would be of great help...any help i
the least would be greatly appreciatted
Thanks in advance all! :