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

¦³ÃöÃþ§O¿ï¨ú,ª½±µ§ì¨ì¥Ø«e½s¸¹ªº°ÝÃD

¦^´_ 1# afu9240
  1. Private Sub ComboBox7_Change()
  2. With Sheets("¤u§@ªí1")
  3. For Each a In .Range(.[A2], .[A2].End(xlDown))
  4.   If Left(a, 3) = ComboBox7.Text & IIf(Len(ComboBox7) = 3, "", "0") Then
  5.      mynum = a
  6.   End If
  7. Next
  8. End With
  9. If Not IsEmpty(mynum) Then TextBox14 = ComboBox7 & Format(Val(Replace(mynum, ComboBox7, "")) + 1, String(Len(mynum) - Len(ComboBox7), "0")) Else TextBox14 = ""
  10. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : §Ú­Ì³Ì¤jªº¼Ä¤H¤£¬O§O¤H¡D¥i¯à¬O¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD