Alphacsulb
Active Member
- Joined
- Mar 20, 2008
- Messages
- 414
This is my code:
TextBox1 is where the user puts in a row number. Then the user clicks on the CommandButton.
Textbox2 should then be the value of Cell EO + the row number in TextBox1.
I know I'm missing something I just can't figure out what it is.
I don't have any other in either Textbox.
TextBox1 is where the user puts in a row number. Then the user clicks on the CommandButton.
Textbox2 should then be the value of Cell EO + the row number in TextBox1.
I know I'm missing something I just can't figure out what it is.
Code:
Private Sub CommandButton1_Click()
MyRowNumber = TextBox1.Value
TextBox2.Text = Range("EO&MyRowNumber").Value
End Sub
I don't have any other in either Textbox.