- ©«¤l
- 2833
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2889
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-11-17
|
¥»©«³Ì«á¥Ñ ã´£³¡ªL ©ó 2017-1-23 13:10 ½s¿è
¸ê®Æ¥²¶·[±Æ§Ç]ªº:- Sub TEST()
- Dim xArea As Range, xR As Range, xF As Range, xG As Range, G%
- Set xArea = Range([A3], Cells(Rows.Count, 1).End(xlUp))
- Application.ScreenUpdating = False
- For Each xR In xArea
- If xR = "" Or xR = xR(1, 7) Then GoTo 101
- Set xF = [G:G].Find(xR, Lookat:=xlWhole)
- If xF Is Nothing Then GoTo 101
- G = xR.Row - xF.Row
- If G > 0 Then Set xG = xF Else Set xG = xR
- xG.Resize(Abs(G), 5).Insert Shift:=xlDown
- 101: Next
- End Sub
½Æ»s¥N½X
Xl0000009.rar (29.67 KB)
|
|