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

¦p¦ó¿ï¨ú"´M§ä"µ²ªG¾ã¦C¸ê®Æ

¦U¦ì°ª¤â¡G
¤p§Ìºô¸ô¤W§ä«Ü¤[¡A

¤@ª½³£§ä¤£¨ìexcel¥i¥H¿ï¨ú"´M§ä"µ²ªG¾ã¦C¸ê®Æªº¤èªk¡A

½Ð°Ý¦U¦ì¤j¤j ...
nmtaux µoªí©ó 2016-4-2 22:25

¸Õ¸Õ:
  1. Sub nn()
  2.   With Range("a1:a500")
  3.     Set c = .Find(2, LookIn:=xlValues)
  4.     If Not c Is Nothing Then
  5.       firstAddress = c.Address
  6.       Do
  7.         c.EntireRow.Interior.ColorIndex = 8
  8.         Set c = .FindNext(c)
  9.       Loop While Not c Is Nothing And c.Address <> firstAddress
  10.     End If
  11.   End With
  12. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ±o²z­nÄǤH¡A²zª½­n®ð©M¡C
ªð¦^¦Cªí ¤W¤@¥DÃD