excel¦hÓ¶q´ú¥¿©¶ªi«¬¦Û°Ê¤Á¤À
- ©«¤l
- 46
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 75
- ÂI¦W
- 8
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- 64ºXÄ¥ª©
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- taiwan
- µù¥U®É¶¡
- 2012-1-27
- ³Ì«áµn¿ý
- 2024-8-15
|
excel¦hÓ¶q´ú¥¿©¶ªi«¬¦Û°Ê¤Á¤À
¨Ï¥Î¶q´ú³]³Æ¶q´ú¤@ª«Åé°µ¥¿©¶¹B°Ê«áªº¶q´úÈ¡A¦p¤U±ªþ¥ótest.xlsx¡A
¬O§_¦³¤èªk¯à¦Û°Ê±N¥¿©¶¸ê®Æ³æ¿W°µ¤Á³Î¡A¹º¤À¦¨¹Ï±¤W±¬õÂIªº°Ï¶¡¡A¤À§O±ø¦C¦¡¦¨¤@Ó·sªº¤u§@¦Cªí¡C
test.zip (41.05 KB)
|
|
m06o2~~~~
|
|
|
|
|
- ©«¤l
- 154
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 200
- ÂI¦W
- 28
- §@·~¨t²Î
- windwos 7
- ³nÅ骩¥»
- 64bit
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2017-5-29
- ³Ì«áµn¿ý
- 2024-10-22
|
¦^´_ 1# m06o2 - Sub test()
-
- Dim LastRow As Long
- Sheets("¤u§@ªí2").Cells.Clear
- With Sheets("¤u§@ªí1")
- LastRow = .Range("A1").CurrentRegion.Rows.Count
- rr = 1
- cc = 1
- For i = 1 To LastRow
- Sheets("¤u§@ªí2").Cells(rr, cc) = .Cells(i, 1)
- If i = LastRow Then Exit For
- rr = rr + 1
- If Sgn(0 - .Cells(i, 1)) + Sgn(0 - .Cells(i + 1, 1)) = 0 Then
- aa = aa + 1
- If aa Mod 2 = 1 Then
- rr = 1
- cc = cc + 1
- End If
- End If
- Next i
- End With
- End Sub
½Æ»s¥N½X
|
|
|
|
|
|
|
- ©«¤l
- 46
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 75
- ÂI¦W
- 8
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- 64ºXÄ¥ª©
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- taiwan
- µù¥U®É¶¡
- 2012-1-27
- ³Ì«áµn¿ý
- 2024-8-15
|
¦^´_ 2# quickfixer
¤w´ú¸Õ¦¨¥\!!!! |
|
m06o2~~~~
|
|
|
|
|