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

[µo°Ý] ®æ¦¡¤Æ±ø¥ó¤£³Q§ó°Ê

[µo°Ý] ®æ¦¡¤Æ±ø¥ó¤£³Q§ó°Ê

¥»©«³Ì«á¥Ñ edwardyen ©ó 2011-7-12 21:47 ½s¿è

½Ð°Ý¦U¦ì«e½ú, §Úªºexcelªí®æ¤w¸g³]©w¤FÀx¦s®æªº®æ¦¡¤Æ±ø¥ó, Àx¦s®æ³£³]©w¦n­nªº®æ¦¡¤Æ±ø¥ó¡C­n¦p¦ó¨Ï¨C­ÓÀx¦s®æ³£¥i¥H¥¿±`¿é¤J¡B§R°£¡B°Å¤U¡B¶K¤W¸ê®Æ¦Ó¤£·|§ïÅÜ©ÎÂл\±¼§Ú©Ò³]¦nªº®æ¦¡¤Æ±ø¥ó,¤×¨ä¬O·í¸ê®Æ¬O±q§Oªº¤u§@ªí°Å¤U¶K¤W®É. ©ÎªÌVBA¥i¥H§JªA³o°ÝÃD¶Ü?
¤£§Æ±æ¥Î"¿ï¾Ü©Ê¶K¤W"...
¤pÃC

¦^¼Ó¥D :  
¬JµM§A¥Î¤F"§R°£"¡B"°Å¤U"¡B"¶K¤W" ·íµMùØÀY§A©Ò«Ø¥ßªº®æ¦¡¤Æ±ø¥ó¤]·|¸òµÛÅܤƩM³QÂл\.

«Øij§A¥Îvba §a.  
¨Ò¤l : °²³] ¦pªGrange(A:A)  ¥ô¤@®æ ¿é¤J©Î §ó·s¸ê®Æ«á , ¦p¦³ "Stanley" ³o­Ó¦r³£·|Åܬõ¦â.

¥N½X¥H¤U. ½Ð°Ñ¦Ò, §Æ±æ¹ï§AÀ°§U.

Private Sub Worksheet_Change(ByVal Target As Range)
Dim i As Integer
i = Range("A65536").End(xlUp).Row
If Target.Column = 1 And Target.Row <= i Then
    Range("A1:A" & i).Select
    Selection.FormatConditions.Delete
    Selection.FormatConditions.Add Type:=xlCellValue, Operator:=xlEqual, _
        Formula1:="=""Stanley"""
    Selection.FormatConditions(1).Interior.ColorIndex = 3
    Range("A1").Select
End If
End Sub
NeverTry , NeverNo !

TOP

        ÀR«ä¦Û¦b : ¦Û¤v®`¦Û¤v¡A²ö¹L©ó¶ÃµoµÊ®ð¡C
ªð¦^¦Cªí ¤W¤@¥DÃD