hi,
i'm starting programming on vba alone.
i'm trying to show on textbox 10 a value from a cell. That should happen when i input a value on textbox 1, but if it's complicate it can be load when the form is open.
The value showed on textbox10 i don't want it to change with keyboard so I locked it in properties.
I've tried many things and happens nothing.
the userform = Preços
Anyone can help? thanks.
i'm starting programming on vba alone.
i'm trying to show on textbox 10 a value from a cell. That should happen when i input a value on textbox 1, but if it's complicate it can be load when the form is open.
The value showed on textbox10 i don't want it to change with keyboard so I locked it in properties.
I've tried many things and happens nothing.
the userform = Preços
VBA Code:
Private Sub TextBox1_change()
Folha2.Range("f4").Value = TextBox1
End Sub
Private Sub TextBox10_load_textbox1()
Me.TextBox10.Text = Folha2.Range(g4).Value
End Sub
VBA Code:
Private Sub Preços_initialize()
Me.TextBox10.Text = Folha2.Range(g4).Value
End Sub
Anyone can help? thanks.