Thanks very much,
What I am trying to do is by inserting a value in textbox1, it runs the code
and places the result in textbox2.
Textbox1 is linked to cell sheet1 "A1" and textbox2 is linked to Sheet1 cell
"A2"
I'v tried using formula, but every time I enter a value in textbox1, it
clears the formula in cell "A2"
Mike it did'nt work but I tried the following code:
Private Sub TextBox1_Enter()
TextBox2.Text = (TextBox1.Text - Range("J5").Value) * 28
End Sub
That seems to work. Inserting a figure in textbox1 then by selecting
textbox2 the value changes. That is workable but I was after, as you entered
a value in textbox1....textbox2 changes without having to select textbox2.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.