Jump to content

textbox que mostra valores


tfnd
Go to solution Solved by Luis_vxd,

Recommended Posts

Private Sub TextBox1_change()
Folha2.Range("K5").Value = TextBox1

End Sub

Private Sub TextBox10_Change()
If CheckBox1 = True Then
UserForm1.TextBox10 = Folha2.Range(L5).Value
Else
UserForm1.TextBox10 = Folha2.Range(P5).Value
End If

End Sub

Boas, 

estou a iniciar me a programar alguns formularios em vba... mas... percebo muito pouco disto.... lol desculpem a franqueza.

tenho uma text box onde insiro um valor (textbox1)  e ao inserir o valor nessa text box e, eu queria que foste mostrada na text box 10 um valor de uma célula e que não desse para alterar.

 

Grato pela atenção dispensada 

Tiago Duarte

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.