ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] TEXTBOX¶¡¶Ç­È

[µo°Ý] TEXTBOX¶¡¶Ç­È

§Ú¦bVBA¦Û­qªí³æ(¨Ò¡Guserform3)¤¤¡A«Ø¥ß¤F¤@­Ótextbox(¨Ò¡Gtextbox1)¡A¦Pªí³æ¤¤¤]¦³textbox2¡Atextbox3¡C
¦pªGtextbox1¬°a®É¡A±Ntextbox1ªº­È(a)½Æ»s¨ìtextbox2¡Atextbox3«O«ùªÅ­È
¦pªGtextbox1¬°b®É¡A±Ntextbox1ªº­È(b)½Æ»s¨ìtextbox3¡Atextbox2«O«ùªÅ­È
½Ð°Ý¤j¤j¡AÀ³¸Ó«ç»ò°µ¤~¥i¥H©O¡H

¤U¦C¬O§Ú¼gªºµ{¦¡½X(¤£¯à¦p¤W­z¹B§@)
Private Sub TextBox1_ENTER()
If UserForm3.TextBox1.Text = "a" Then
   UserForm3.TextBox2.Text = UserForm3.TextBox1.Text
End If
End Sub

¥»©«³Ì«á¥Ñ register313 ©ó 2011-12-16 14:25 ½s¿è

¦^´_ 1# sammay


       Private Sub TextBox1_ENTER()
=>   Private Sub TextBox1_Change()
  1. Private Sub TextBox1_Change()

  2. If UserForm3.TextBox1.Text = "a" Then
  3.    UserForm3.TextBox2.Text = UserForm3.TextBox1.Text
  4.    UserForm3.TextBox3.Text = ""
  5. End If
  6. If UserForm3.TextBox1.Text = "b" Then
  7.    UserForm3.TextBox2.Text = ""
  8.    UserForm3.TextBox3.Text = UserForm3.TextBox1.Text
  9. End If

  10. End Sub
½Æ»s¥N½X

TOP

¦^´_ 1# sammay
¸Õ¸Õ¬Ý
  1. Private Sub TextBox1_Change()
  2.     If TextBox1 = "a" Then
  3.         TextBox2 = TextBox1
  4.         TextBox3 = ""
  5.     ElseIf TextBox1 = "b" Then
  6.         TextBox3 = TextBox1
  7.         TextBox2 = ""
  8.     End If
  9. End Sub
½Æ»s¥N½X

TOP

¦^´_ 3# GBKEE
­ì¨Ó±NENTER§ï¦¨Change´N¥i¥H¤F
·PÁÂregister313»PGBKEEªº¦^ÂÐ

TOP

        ÀR«ä¦Û¦b : ºÉ¦h¤Ö¥»¥÷¡A´N±o¦h¤Ö¥»¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD