- ©«¤l
- 51
- ¥DÃD
- 11
- ºëµØ
- 0
- ¿n¤À
- 110
- ÂI¦W
- 0
- §@·~¨t²Î
- win 10
- ³nÅ骩¥»
- office 2007
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2017-7-15
- ³Ì«áµn¿ý
- 2024-10-27
|
¦^´_ 34# ã´£³¡ªL
·Ç´£ªO¤j¡A¦pªG§Ún§ïÅÜ°_©l½c¼Æ(¤£½×¬O³æ¸ËªO123¡A§Ú¥i¥H¥ý³]©wCn=cells(1,16)©Î¬O³]©w¤@ÓȨҦpXX=Cells(1,16)
¨Ò¦pX1 = "KEC4-" & Cn + 1+C+XX
³oÃä¨Ó°µ×¥¿¶Ü?- For j = 1 To 3
- C = Cr(j): Km = Int((C + sb - 1) / sb): If C > sb Then C = sb
- If C > 0 Then CK = 1
- For k = 1 To Km
- N = N + 1: P = C * 20
- Crr(N, 3) = Arr(i, 1): Crr(N, 4) = P: Crr(N, 5) = C
- X1 = "KEC4-" & Cn + 1: X2 = "KEC4-" & Cn + C
- Crr(N, 6) = X1 & IIf(C = 1, "", "-" & X2)
- Cn = Cn + C
- Crr(N, 7) = Int((Cn - 1) / sb) + 1
- X1 = T & Format(TV + 1, "000000"): X2 = T & Format(TV + P, "000000")
- Crr(N, 10) = X1 & "-" & X2
- TV = TV + P: N = N + 1
½Æ»s¥N½X |
|