- ©«¤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
|
¥»©«³Ì«á¥Ñ quickfixer ©ó 2021-3-29 14:50 ½s¿è
¦^´_ 1# f00l01
²Â¤èªk
NÄæn¯dªÅ¥Õ
Sub test()
Columns("O:AA").ClearContents
For r = 1 To 10 '¨ì²Ä10¦C
cc = 1
ccc = 0
For c = 2 To 14 '³Ì«á¤@Äæ+1
If Cells(r, c) - Cells(r, c - 1) <> 1 Then
ccc = ccc + 1
For i = cc To c - 1
Cells(r, ccc + 14) = Cells(r, ccc + 14) & "," & Cells(r, i) '¸ê®Æ±q³Ì«á¤@Äæ+2¶}©l©ñ
Next
cc = c
End If
Next
Next
End Sub |
|