- ©«¤l
- 522
- ¥DÃD
- 36
- ºëµØ
- 1
- ¿n¤À
- 603
- ÂI¦W
- 0
- §@·~¨t²Î
- win xp sp3
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-12-13
- ³Ì«áµn¿ý
- 2021-7-11
|
¸Õ¸ÕVBA- 'ª½±µ²M°£(«O¯dìÀx¦s®æªº¦ì¸m)
- Sub test()
- Dim LastRow As Long, i As Long
- LastRow = Cells(Rows.Count, 1).End(xlUp).Row
- For i = 1 To LastRow
- If Cells(i, 1) = [B1] Or Cells(i, 1) = [B2] Then
- Cells(i, 1).ClearContents
- End If
- Next
- End Sub
- '§R°£§¹, ªÅ®æ·|¦V¤W²¾
- Sub test2()
- Dim LastRow As Long, i As Long
- LastRow = Cells(Rows.Count, 1).End(xlUp).Row
- For i = LastRow To 1 Step -1
- If Cells(i, 1) = [B1] Or Cells(i, 1) = [B2] Then
- Cells(i, 1).Delete Shift:=xlUp
- i = i - 1
- End If
- Next
- End Sub
½Æ»s¥N½X |
|