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

¦p¦ó­­¨îTextbox¦r¼Æ~·í¦r¼Æ¨ì¤F~´«¤U¤@­ÓTextbox

¦^´_ 2# av8d
³o¬O§A­nªº¶Ü¡H
  1. Private Sub TextBox1_Change()
  2.     If Len(TextBox1) = 9 Then
  3.         TextBox2 = Mid(TextBox1, 2, 4)
  4.         TextBox3 = Mid(TextBox1, 6, 4)
  5.         TextBox1 = Left(TextBox1, 1)
  6.     End If
  7. End Sub
½Æ»s¥N½X

TOP

¦^´_ 4# av8d
  1. TextBox1 = "411120848"  '  °²³]¤§¿é¤J­È

  2. TextBox2 = Mid(TextBox1, 2, 4)
  3. TextBox2 = Mid("411120848", ²Ä¤G­Ó¦ì¸m°_¶}©l¡AºI¨ú¥|¦ì)
  4. TextBox2 = "1112"

  5. TextBox3 = Mid(TextBox1, 6, 4)
  6. TextBox3 = Mid("411120848", ²Ä¤»­Ó¦ì¸m°_¶}©l¡AºI¨ú¥|¦ì)
  7. TextBox3 = "0848"

  8. TextBox1 = Left(TextBox1, 1)
  9. TextBox1 = Left("411120848", ±q¥ª¶}©lºI¨ú¤@¦ì)
  10. TextBox1 = "1"
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD