- ©«¤l
- 2833
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2889
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-11-17
|
¦Ûq¨ç¼Æ¡G¡]¥u¹w³]§Ç¸¹±q¢°¡ã¢²¢¯¢¯¢¯¡^- Function GetNo(xStr$) As String
- Dim Ar(0 To 3000), A, i%, N1, N2, T, TT$
- For Each T In Split(xStr, ",")
- A = Split(0 & Trim(T) & "~0~0", "~")
- For i = A(0) To A(1)
- Ar(i) = 1
- Next
- Next
- For i = 1 To 3000
- If Ar(i) = 1 Then
- If N1 = "" Then N1 = i Else N2 = i
- Else
- If N1 <> "" Then TT = TT & "," & N1 & IIf(N2 = "", "", "-" & N2)
- N1 = "": N2 = ""
- End If
- Next
- GetNo = Mid(TT, 2)
- End Function
½Æ»s¥N½X ¢Ð¢±¤½¦¡¡G
=GetNo(A2)
¡@
¦r¦ê¤Óªø¥i¯à³y¦¨¿ù»~µ²ªG¡ã¡ã
¡@
¡@ |
|