ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Userform otomatic to perceive (https://www.excelbanter.com/excel-programming/408157-userform-otomatic-perceive.html)

[email protected]

Userform otomatic to perceive
 
hi
Userform put on the two textbox.they are names textbox1 and textbox2.
They are valeu's character length four if textbox2 selecting.

what is userform events?
-------------------------------------------------------
Private Sub UserForm_????????????()

if len(textbox1)=4 then
textbox2.setfocus
end if

End Sub
----------------------------------------------------

what ???? write ?

Per Jessen

Userform otomatic to perceive
 
Hi

Something like this:

Private Sub TextBox1_Change()
If Len(Me.TextBox1.Value) = 4 Then Me.TextBox2.SetFocus
End Sub

Regards,

Per


skrev i meddelelsen
...
hi
Userform put on the two textbox.they are names textbox1 and textbox2.
They are valeu's character length four if textbox2 selecting.

what is userform events?
-------------------------------------------------------
Private Sub UserForm_????????????()

if len(textbox1)=4 then
textbox2.setfocus
end if

End Sub
----------------------------------------------------

what ???? write ?




All times are GMT +1. The time now is 09:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com