[¨D§U] ±NÉN¯S©w®æ¦¡, ¤À¦¨¦h¦C
- ©«¤l
- 33
- ¥DÃD
- 9
- ºëµØ
- 0
- ¿n¤À
- 62
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- xp
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-2-17
- ³Ì«áµn¿ý
- 2020-11-2
|
[¨D§U] ±NÉN¯S©w®æ¦¡, ¤À¦¨¦h¦C
¦p·Q¥Î vba ±NgxmcÄ椺¦p¦³¦h²Õ¼Æ¦r, ¤À¦¨¦h¦æ¸ê®Æ, ¸Ó¦p¦ó°µ,
bh gh wltm gxmc color csize shul2
12195-03A EF03500 14939 ,1, CH012 42 72
12195-03A EF03622 14930 ,2,9, CH012 38 48
12195-03A EF03661 14940 ,10,2,7,4, CH012 42 48
µ²ªG
bh gh wltm gxmc color csize shul2
12195-03A EF03500 14939 ,1, CH012 42 72
12195-03A EF03622 14930 ,2, CH012 38 48
12195-03A EF03622 14930 ,9, CH012 38 48
12195-03A EF03661 14940 ,10, CH012 42 48
12195-03A EF03661 14940 ,2, CH012 42 48
12195-03A EF03661 14940 ,7, CH012 42 48
12195-03A EF03661 14940 ,4, CH012 42 48 |
|
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|
- ©«¤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
|
¦^´_ 1# sammyc - Sub Ex()
- Dim Ar(), S As Integer, A As Range, I As Integer, T As String
- For Each A In Range([A1], [A65536].End(xlUp))
- For I = 0 To UBound(Split(A.Cells(1, 4), ","))
- If Split(A.Cells(1, 4), ",")(I) <> "" Then
- ReDim Preserve Ar(S)
- Ar(S) = Application.Transpose(Application.Transpose(A.Resize(1, 7).Value))
- T = IIf(UBound(Split(A.Cells(1, 4), ",")) > 0, ",", "")
- Ar(S)(4) = T & Split(A.Cells(1, 4), ",")(I) & T
- S = S + 1
- End If
- Next
- Next
- [I1].Resize(S, 7) = Application.Transpose(Application.Transpose(Ar))
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 33
- ¥DÃD
- 9
- ºëµØ
- 0
- ¿n¤À
- 62
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- xp
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-2-17
- ³Ì«áµn¿ý
- 2020-11-2
|
|
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|
- ©«¤l
- 33
- ¥DÃD
- 9
- ºëµØ
- 0
- ¿n¤À
- 62
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- xp
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-2-17
- ³Ì«áµn¿ý
- 2020-11-2
|
¥»©«³Ì«á¥Ñ sammyc ©ó 2011-2-18 17:21 ½s¿è
¦^´_ 1# sammyc
¥ý¦æÁÂÁÂ, ¦ý°õ¦æ«á, ¨S¥ô¦óÅÜ°Ê,
¦æ¨ì s = s + 1«á, ¤v¸õ¨ìnext
Ar(s) = Array(a.Value, a.Offset(, 1).Value, a.Offset(, 2).Value, a.Offset(, 3).Value, a.Offset(, 4).Value, a.Offset(, 5).Value, a.Offset(, 6).Value)
s = s + 1
Else
ay = Split(a.Offset(, 3), ",")
For Each c In ay
If c <> "" Then
ReDim Preserve Ar(s)
Ar(s) = Array(a.Value, a.Offset(, 1).Value, a.Offset(, 2).Value, "," & c & ",", a.Offset(, 4).Value, a.Offset(, 5).Value, a.Offset(, 6).Value)
s = s + 1
End If
Next
End If |
|
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|
- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 247
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-14
|
¦^´_ 1# sammyc - Sub ex()
- Dim Ar()
- For Each a In Range([A1], [A65536].End(xlUp))
- If InStr(a.Offset(, 3), ",") = 0 Then
- ReDim Preserve Ar(s)
- Ar(s) = Array(a.Value, a.Offset(, 1).Value, a.Offset(, 2).Value, a.Offset(, 3).Value, a.Offset(, 4).Value, a.Offset(, 5).Value, a.Offset(, 6).Value)
- s = s + 1
- Else
- ay = Split(a.Offset(, 3), ",")
- For Each c In ay
- If c <> "" Then
- ReDim Preserve Ar(s)
- Ar(s) = Array(a.Value, a.Offset(, 1).Value, a.Offset(, 2).Value, "," & c & ",", a.Offset(, 4).Value, a.Offset(, 5).Value, a.Offset(, 6).Value)
- s = s + 1
- End If
- Next
- End If
- Next
- [I1].Resize(s, 7) = Application.Transpose(Application.Transpose(Ar))
- End Sub
½Æ»s¥N½X |
|
¾Ç®üµL²P_¤£®¢¤U°Ý
|
|
|
|
|