- ©«¤l
 - 15 
 - ¥DÃD
 - 5 
 - ºëµØ
 - 0 
 - ¿n¤À
 - 20 
 - ÂI¦W
 - 0  
 - §@·~¨t²Î
 - WINDOWS 
 - ³nÅ骩¥»
 - 7 
 - ¾\ŪÅv
 - 10 
 - µù¥U®É¶¡
 - 2013-7-22 
 - ³Ì«áµn¿ý
 - 2015-7-21 
 
  | 
                
¤jP§¹¦¨§Ú»ÝnªºªF¦è¤F 
¦A¦¸¦hÁÂGBKEE- Sub autopl()
 
 - Dim i As Long
 
 - Dim MyString, myLen
 
  
- For i = 15 To [a65536].End(4).Row
 
 - MyString = Cells(i, 2)
 
 - If Len(MyString) = 10 Then
 
 -         Cells(i, 9).FormulaR1C1 = ""
 
 -         Cells(i, 10).FormulaR1C1 = ""
 
 -         Cells(i, 11).FormulaR1C1 = ""
 
 - End If
 
  
 
 
 
- Next i
 
  
- Ex
 
 - Ex2
 
 - Ex3
 
 - Ex4
 
 - add1
 
 - ctn1
 
  
 
- End Sub
 
  
- Sub Ex()
 
 -     Dim Rng As Range, E As Range, lastrow3 As Long
 
 -     With ActiveSheet
 
 -     lastrow3 = Worksheets("sheet1").Range("a15").End(xlDown).Row
 
 -         Set Rng = .Range("J15:J" & lastrow3&).SpecialCells(xlCellTypeBlanks)
 
 -         For Each E In Rng.Areas
 
 -             If E.Cells(E.Rows.Count).Row < .Rows.Count Then
 
 -                 E.Cells(1) = E.Cells(E.Rows.Count + 1)
 
 -                 E.Cells(E.Rows.Count + 1) = ""
 
 -             End If
 
 -         Next
 
 -     End With
 
 - End Sub
 
  
- Sub Ex2()
 
 -     Dim Rng2 As Range, D As Range, lastrow2 As Long
 
 -     With ActiveSheet
 
 -     lastrow2 = Worksheets("sheet1").Range("a15").End(xlDown).Row
 
 -         Set Rng2 = .Range("I15:I" & lastrow2&).SpecialCells(xlCellTypeBlanks)
 
 -         For Each D In Rng2.Areas
 
 -             If D.Cells(D.Rows.Count).Row < .Rows.Count Then
 
 -                 D.Cells(1) = D.Cells(D.Rows.Count + 1)
 
 -                 D.Cells(D.Rows.Count + 1) = ""
 
 -             End If
 
 -         Next
 
 -     End With
 
 - End Sub
 
  
- Sub Ex3()
 
 -     Dim Rng3 As Range, f As Range, lastrow5 As Long
 
 -     With ActiveSheet
 
 -     lastrow5 = Worksheets("sheet1").Range("a15").End(xlDown).Row
 
 -         Set Rng3 = .Range("k15:k" & lastrow5&).SpecialCells(xlCellTypeBlanks)
 
 -         For Each f In Rng3.Areas
 
 -             If f.Cells(f.Rows.Count).Row < .Rows.Count Then
 
 -                 f.Cells(1) = f.Cells(f.Rows.Count + 1)
 
 -                 f.Cells(f.Rows.Count + 1) = ""
 
 -             End If
 
 -         Next
 
 -     End With
 
 - End Sub
 
  
- Sub Ex4()
 
  
- Dim rw As Long
 
 - For rw = 15 To [a65536].End(4).Row
 
 - If Cells(rw, 2).Value = 1 Then Cells(rw, 2).EntireRow.Delete
 
 - Next rw
 
  
- End Sub
 
  
- Sub add1()
 
  
- Dim l As Long
 
  
- For l = 15 To [a65536].End(4).Row
 
 - If Cells(l, 2) <> "" Then
 
 -         Cells(l, 2).FormulaR1C1 = ""
 
 - End If
 
 - Next l
 
 -     
 
  
- End Sub
 
  
- Sub ctn1()
 
 - Dim lastrow4 As Long
 
  
-     With ActiveSheet
 
 -     lastrow4 = Worksheets("sheet1").Range("a15").End(xlDown).Row
 
 -     Range("b15").FormulaR1C1 = "0"
 
 -     Range("b16").FormulaR1C1 = "=IF(RC[7]="""",R[-1]C,R[-1]C+1)"
 
 -     Range("b16").AutoFill Destination:=Range("b16:b" & lastrow4)
 
 -     End With
 
 - End Sub
 
  ½Æ»s¥N½X |   
 
 
 
 |