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

²¾°Ê¦³ÃC¦âªº¦C¨ì¨ä¥Lsheet(¤p°ÝÃD½Ð±Ð)

¦^´_ 4# jj369963
·|µo¥Í·¸¦ì¦³¥i¯à¬O Dim  i As Integer ªºÃö«Y,
¦]¬°¦C¸¹³Ì¤j¥i¹F¨ì65536 ,
©Ò¥H«Øij§ï¥Î Dim  i As Long ,
¸û¤£©öµo¥Í·¸¦ìªº±¡§Î.

¦^´_ 10# jj369963
¥H§A´£¨Ñªº½d¨ÒÀÉ®×,
®M¥Î 9# ªºµ{¦¡¨Ã¤£·|µo¥Í§A©Ò»¡ªº±¡§Î©O.
«Øij§A¹ï­ì©lÀɮפ¤ªº»Ý­n®æ¦¡¤Æ±ø¥óªº©Ò¦³Àx¦s®æ,
¦A½T»{¤@¦¸©Ò®M¥Îªº±ø¥ó¤º®e¬O§_³£¤@¼Ë.

¥u­n Mark ©Ò¦³»Ý®M¥Î¬Û¦P®æ¦¡±ø¥óªºÀx¦s®æ,
¦A«ö ®æ¦¡ -> ³]©w®æ¦¡¤Æ±ø¥ó ¬Ý¬Ý¬O§_³£¬O¬Û¦Pªº±ø¥ó¤½¦¡,
­Y¬O§A¬Ý¨ì "ªÅ¥Õ"(¨S¦³¤º®e) ªº±ø¥ó¤º®e,
¨º´N¬O³Q Mark ªºÀx¦s®æ¦³¤£¦Pªº±ø¥ó¦s¦b.
½Ð½T»{¬Ý¬Ý.

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2013-11-7 15:23 ½s¿è

¦^´_ 10# jj369963
¦p¹Ï¥Ü¨Ì§A6#ªºÀÉ®×°õ¦æ7#ªºµ{¦¡,
§A»¡ªº°õ¦æ»yªk«á¥u¦³¼ÐÃD¦C²¾¹L¥h¡A®æ¦¡¤Æªº¦C¨S¦³²¾¨ì¹ïÀ³ªºsheet,(¦Ê«ä¤£¸Ñ..)
2003ª©¤¤ RGB(3, 255, 101)  ->  ¶Ç¦^¤@­Ó¼Æ­È  Criteria1=RGB(3, 255, 101) -> ³o¨ç¼Æ¶Ç¦^ªº¼Æ¦r
  1. 'xlFilterCellColor³o°Ñ¼Æ¬°2010ª©ªº¤£¾A¥Î2003
  2. ActiveSheet.Range("$A$1:$CQ$370").AutoFilter Field:=6, Criteria1:=RGB(3, 255, 101), Operator:=xlFilterCellColor
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 12# GBKEE


    Dear GBKEE ª©¤j¡G
  
   «D±`ÁÂÁ±zªº¦^ÂСA¦Ó¥B¦^ÂЪº¦n¸Ô²Ó¡A·PÁ¡C
¡y§A»¡ªº°õ¦æ»yªk«á¥u¦³¼ÐÃD¦C²¾¹L¥h¡A®æ¦¡¤Æªº¦C¨S¦³²¾¨ì¹ïÀ³ªºsheet,(¦Ê«ä¤£¸Ñ..)¡z
  ¦^ÂСG¦pªþÀÉ
¤£¹L§Ú¦b·Q·|¤£·|¬Oexcelª©¥»ªº®t²§(???)¡A¦]¬°ª©¤j¦³°õ¦æ¥X¨Ó¡A©Ò¥H°ÝÃDÀ³¸Ó¦b§Ú³oÃä¡C

  ÁÂÁª©¤j¥Î¤ß¥B¸Ô²Óªº¦^ÂÐ

¥u¦³²¾°Ê¼ÐÃD.gif

TOP

¦^´_ 13# jj369963
2003ª©¥»»P¨ä¥L·sª©ªº®æ¦¡¤Æ±ø¥ó¤½¦¡¡A
¨Ã¤£·|¦]¬°§@¥Î¤¤Àx¦s®æ¦ì¸m§ïÅܦÓÅܰʬ۹ï°Ñ·Óªº³¡¤À¤½¦¡¡A
©Ò¥H¡AÁ٧䤣¥X¥i­Ó§O§PÂ_±ø¥ó¦¨¥ß»P§_ªº¨ç¼Æ©Î¤èªk
°h¦Ó¨D¨ä¦¸¡A¸m´«®æ¦¡¤Æ±ø¥ó¤½¦¡ªº°Ñ·Ó¦C¦ì
  1. Sub ex()
  2. Dim A As Range, f As FormatCondition, Rng(1 To 2) As Range
  3. With Sheet1
  4.    For Each A In .Range(.[A2], .[C2].End(xlDown).Offset(, -2)).SpecialCells(xlCellTypeAllFormatConditions)
  5.       For i = 1 To A.FormatConditions.Count
  6.          If Evaluate(Replace(A.FormatConditions(i).Formula1, 1, A.Row)) > 0 Then
  7.             If Rng(i) Is Nothing Then Set Rng(i) = Union(.[A1], A) Else Set Rng(i) = Union(Rng(i), A)
  8.             Exit For
  9.          End If
  10.       Next
  11.     Next
  12. End With
  13. sht = Array("µL±b±K", "µL§@µª")
  14. For i = 1 To 2
  15.    Rng(i).EntireRow.Copy Sheets(sht(i - 1)).[A1]
  16.    Sheets(sht(i - 1)).UsedRange.FormatConditions.Delete '²M°£®æ¦¡¤Æ±ø¥ó
  17. Next
  18. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 14# Hsieh

Dear  Hsieh ¶Wª©:

          «D±`·PÁ±zªº¸É¥R»¡©ú¡AÁÙ¬O¤@¦p¬J©¹ªº¼ö¤ß¡Ait works.
           ¯u¬O¤Ó·PÁ¤F¡A¤]ÁÂÁÂGBKEE¼ö¤ßªº«ü¾É
            ·PÁÂ2¦ì

TOP

        ÀR«ä¦Û¦b : ¡i®É¶¡¦¨´N¤@¤Á¡j®É¶¡¥i¥H³y´N¤H®æ¡A¥i¥H¦¨´N¨Æ·~¡A¤]¥i¥HÀx¿n¥\¼w¡C
ªð¦^¦Cªí ¤W¤@¥DÃD