- ©«¤l
- 12
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 56
- ÂI¦W
- 0
- §@·~¨t²Î
- Window7
- ³nÅ骩¥»
- office2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-8-3
- ³Ì«áµn¿ý
- 2015-5-10
  
|
¥»©«³Ì«á¥Ñ lilytracy ©ó 2013-6-16 11:39 ½s¿è
¦^´_ 5# luke
²M°£ªÅªí®æ¦C°Ñ¦Ò¦p¤U- Sub RowClear()
- Dim row, i, j As Long
- row = ActiveSheet.Cells.SpecialCells(xlCellTypeLastCell).row
- Application.ScreenUpdating = False
- Range(Cells(9, 1), Cells(row, 1)).Select
- For i = 9 To row
- If Cells(i, 1).Value = "" And Cells(i, 3).Value = "" And Cells(i, 8).Value = "" Then
- Rows(i).Select
- Selection.Delete Shift:=xlUp
- i = i - 1
- j = j + 1
- If j = row Then
- Exit For
- End If
- End If
- Next
- Application.ScreenUpdating = True
- End Sub
½Æ»s¥N½X |
|