- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 19# herhsiu - Sub ²Ä¤@¦C()
- Dim Str, A, i, Ar
- Str = "00:10:56 TR4A-9.01 A80168.5 V81_79 OL1 AH_H 1 parentLotId_1A80168.1 0.000 0.000 0.299 -0.058 0.052 -0.035 -0.155 0.004 0.001 0.000 -0.037 0.071 +00035-00006+00000+00700"
- ReDim Ar(0) '«·s«Å§i°}¦Cºû«×
- Ar(0) = Mid(Str, 1, 8) '±NÈ«ü©wµ¹°}¦C
- A = InStr(Str, "parentLotId_") + Len("parentLotId_") ' ¶Ç¦^¼Æ¦r -> SYSDATE,'N ¦b Str¦r¦êªº¦ì¸m
- For i = A To Len(Str)
- If Mid(Str, i, 1) = "." Then Exit For
- Next
- Str = Split(Mid(Str, i + 3), " ")
- For i = 0 To UBound(Str)
- ReDim Preserve Ar(UBound(Ar) + 1)
- Ar(UBound(Ar)) = Str(i) '³Ì«áªº¼Æ¦r«ü©wµ¹ ->°}¦Cªº³Ì¤jºû¼Æ
- Next
- A = 0
- For i = 1 To Len(Ar(UBound(Ar))) Step 6 'Step 6 ->¨C¹j6¦r¤¸
- A = A + Val(Mid(Ar(UBound(Ar)), i, 6))
- Next
- Ar(UBound(Ar)) = A
- [A1].Resize(, UBound(Ar) + 1) = Ar '°}¦C ©ñ¸m©ó¦C
- [A3].Resize(UBound(Ar) + 1) = Application.WorksheetFunction.Transpose(Ar) '°}¦C ©ñ¸m©óÄæ
- End Sub
½Æ»s¥N½X |
|