ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

§â¦P¼Ëªºµ²ªG¥þ³¡§R±¼

¸Õ¸Õ¬Ý:
C3: =IF(OR(A1=B$1,A1=B$2),"",A1)
¦V¤U©Ô

TOP

¸Õ¸ÕVBA
  1. 'ª½±µ²M°£(«O¯d­ìÀx¦s®æªº¦ì¸m)
  2. Sub test()
  3.     Dim LastRow As Long, i As Long
  4.     LastRow = Cells(Rows.Count, 1).End(xlUp).Row
  5.     For i = 1 To LastRow
  6.         If Cells(i, 1) = [B1] Or Cells(i, 1) = [B2] Then
  7.              Cells(i, 1).ClearContents
  8.         End If
  9.     Next
  10. End Sub

  11. '§R°£§¹, ªÅ®æ·|¦V¤W²¾
  12. Sub test2()
  13.     Dim LastRow As Long, i As Long
  14.     LastRow = Cells(Rows.Count, 1).End(xlUp).Row
  15.     For i = LastRow To 1 Step -1
  16.         If Cells(i, 1) = [B1] Or Cells(i, 1) = [B2] Then
  17.              Cells(i, 1).Delete Shift:=xlUp
  18.              i = i - 1
  19.         End If
  20.     Next
  21. End Sub
½Æ»s¥N½X

TOP

§ó¥¿:
6# ¤¤ªº ²Ä19 ¦CÀ³§R°£¤~¹ï!!

TOP

¥»©«³Ì«á¥Ñ yen956 ©ó 2015-11-12 13:25 ½s¿è

¦^´_ 8# hcm19522
hcm19522¤j¤j§A¦n,
À°§Ú¬Ý¬Ý, §Ú·Ó6#¤j¤jblogªº¤½¦¡,
¬°¦ó±o¤£¨ì·Q­nªºµ²ªG?

test.jpg (51.95 KB)

test.jpg

test.jpg (51.95 KB)

test.jpg

test.rar (2.13 KB)

TOP

¦^´_ 11# hcm19522
ÁÂÁ¦^ÂÐ, §Úª¾¹D°}¦C¤½¦¡ªº¿é¤J¤è¦¡, «e¦³ªþÀÉ, ¥i§_À°¦£¬Ý¤@¤U, ÁÂÁÂ!!

TOP

¦^´_ 13# hcm19522
­ì¨Ó¦p¦¹, ÁÂÁ«ü¾É, ÁÂÁ¡C

TOP

        ÀR«ä¦Û¦b : ¥Ç¿ù¥XÄb®¬¤ß¡A¤~¯à²M²bµL·Ð´o¡C
ªð¦^¦Cªí ¤W¤@¥DÃD