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

Àx¦s¦U¨ú±oµJÂI«á¬Y¤@Äæ¦ìÅܦâ

Àx¦s¦U¨ú±oµJÂI«á¬Y¤@Äæ¦ìÅܦâ

½Ð°Ý¦U¦ì¤j¤j
¤ñ¤èÂI¤FAR212Äæ¦ì
AG212©³¦â·|ÅÜ
­n«ç³]­p©O
ÁÂÁÂ

(·j´M¿é¤J½s¸¹12626) googleºô§}:https://hcm19522.blogspot.com/
google"EXCEL°g"  blog  ©Îgoogleºô§}:https://hcm19522.blogspot.com/

TOP

¦^´_  coafort

Set xB = [AF212:AG219]

With xB.Rows(R).FormatConditions
­ã´£³¡ªL µoªí©ó 2024-2-4 15:01


«D±`ÁÂÁ­ã¤j¤j
¥i¥H¤F:D

TOP

¦^´_ 32# coafort

Set xB = [AF212:AG219]

With xB.Rows(R).FormatConditions

TOP

§Q¥Î®æ¦¡±ø¥óÅܦâ//«O¯d­ì¦³®æ¦¡

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim ...
­ã´£³¡ªL µoªí©ó 2024-2-3 10:35


¨ä¹ê¬O¤pªº§âÄæ¦ì·d¿ù¤F
¯uªº¬O«D±`©êºp
¹ê»Ú¤WÀ³¸Ó¬O
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim xA As Range, xB As Range, X As Range, R&
Set xA = [AR212:AR219,AX212:AX219]
Set xB = [AG212:AG219]
With Target
     If xB.FormatConditions.Count Then xB.FormatConditions.Delete
     If .Count > 1 Then Exit Sub
     Set X = Intersect(.Cells, xA)
     If X Is Nothing Then Exit Sub
     R = X.Row - xA.Item(1).Row + 1
     With xB.Item(R).FormatConditions
          .Add Type:=xlCellValue, Operator:=xlNotEqual, Formula1:="=""^_^"""
          .Item(1).Interior.ColorIndex = 6
     End With
End With
End Sub


   ½Ð°Ý¤j¤j
¦pªGAF212:AF219¤]­n¤@°_Åܦâ
¸Ó¦p¦ó¥[¤J©O¡H
§Ú§ï¦¨¥H¤U³o¼Ë¥u¦³AF¦³§@¥Î¦ý¬OAG¨S§@¥Î
ÁÂÁ¤j¤j

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim xA As Range, xB As Range, X As Range, R&
Set xA = [AR212:AR219,AX212:AX219]
Set xB = [AF212:AF219,AG212:AG219]
With Target
     If xB.FormatConditions.Count Then xB.FormatConditions.Delete
     If .Count > 1 Then Exit Sub
     Set X = Intersect(.Cells, xA)
     If X Is Nothing Then Exit Sub
     R = X.Row - xA.Item(1).Row + 1
     With xB.Item(R).FormatConditions
          .Add Type:=xlCellValue, Operator:=xlNotEqual, Formula1:="=""^_^"""
          .Item(1).Interior.ColorIndex = 6
     End With
End With
End Sub

TOP

§Q¥Î®æ¦¡±ø¥óÅܦâ//«O¯d­ì¦³®æ¦¡

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim ...
­ã´£³¡ªL µoªí©ó 2024-2-3 10:35


«D±`ÁÂÁ­㴣¤j¤j
«D±`ÁÂÁ¦w­}¤j¤j
¤U¦¸§ï¶i:'(

TOP

¦^´_ 1# coafort


µo°Ý®É, ½Ð¤W¶ÇÀɮרüÒÀÀµ²ªG, ­YµLªk¤W¶ÇÀÉ®×, ¤]¥i¶K¹Ï¤W¨Ó!!!
°ÝÃD´y­z¤@©w­n§¹¾ã¥B¨ì¦ì, ¤£­nÅý¸ÑµªªÌ¤@§ï¦A§ï, ªá¶O¤Ó¦h®É¶¡~~

TOP

§Q¥Î®æ¦¡±ø¥óÅܦâ//«O¯d­ì¦³®æ¦¡

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim xA As Range, xB As Range, X As Range, R&
Set xA = [AR212:AR219,AX212:AZ219]
Set xB = [AJ212:AJ219]
With Target
     If xB.FormatConditions.Count Then xB.FormatConditions.Delete
     If .Count > 1 Then Exit Sub
     Set X = Intersect(.Cells, xA)
     If X Is Nothing Then Exit Sub
     R = X.Row - xA.Item(1).Row + 1
     With xB.Item(R).FormatConditions
          .Add Type:=xlCellValue, Operator:=xlNotEqual, Formula1:="=""^_^"""
          .Item(1).Interior.ColorIndex = 6
     End With
End With
End Sub

TOP

¦^´_ 27# Andy2483

§Ú»¡¿ù¤F
À³¸Ó¬O»¡
¶À©³·|²Ö­p¤£·|®ø¥¢
°£«DÂ÷¶}´å¼ÐÀx¦s®æ
ÁÂÁ¤j¤j

TOP

¦^´_ 26# coafort

½Ð°Ý¤j¤j
¦pªG§Ú­nºë½T¤@ÂI
µJÂI¦bAR212¦ÜAR219¤ÎAX212¦ÜAZ219
Åܦ⪺¦a¤è¬OAJ212¦ÜAJ219
½Ð°Ý¸Ó«ç»ò°µ©O¡HÁÂÁ¤j¤j

­ì¨Ó´N¬OAJÄæÅܦâ,¦³·|¿ù·N¶Ü?
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

        ÀR«ä¦Û¦b : ÁÀ¨¥¹³¤@¦·²±¶}ªºÂAªá¡A¥~ªí¬üÄR¡A¥Í©Rµu¼È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD