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

[µo°Ý] ¦p¦ó³]©w¦b¿é¤J"®ð²y"®É~´£¥Ü°T®§!(¤w¸Ñ¨M¡A«D±`·PÁÂG,O,J¤jªºÀ°¦£)

[µo°Ý] ¦p¦ó³]©w¦b¿é¤J"®ð²y"®É~´£¥Ü°T®§!(¤w¸Ñ¨M¡A«D±`·PÁÂG,O,J¤jªºÀ°¦£)

¥»©«³Ì«á¥Ñ av8d ©ó 2011-9-14 16:59 ½s¿è

¨Ò¦p§Ú¦bK5¿é¤J¤F®ð²y~·í³õ´N·|¸õ¥X´£¥Ü°T®§"½Ð¨Æ¥ý¥´®ð"~

§Ú´ú¸Õ¤F¤@¤U~¥i±¤¥¢±Ñ¤F~
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
[K2].Sort Key1:=Range("K2")
If Range("K2") = "®ð²y" Then
    MsgBox ½Ð¨Æ¥ý¥´®ð
End If
End Sub

¦^´_ 1# av8d
MsgBox "½Ð¨Æ¥ý¥´®ð"

TOP

¦^´_ 2# GBKEE


    §Úªºµ{¦¡¦n¹³¼g¿ù¤F~¤£ª¾¹D¬O­n­«¼gÁÙ¬O­n­×§ï¤F..

TOP

­º¥ý­n¿ï¹ï¨Ï¥Î¤°»ò¨Æ¥ó
§Ú¦bK5¿é¤J¤F®ð²y~·í³õ´N·|¸õ¥X´£¥Ü°T®§"½Ð¨Æ¥ý¥´®ð"~
³oºØ­n¨D¨Ï¥ÎªºÀ³¸Ó¬O Worksheet_Change¨Æ¥ó
¦b§ïÅܩοé¤JÀx¦s®æ®ÉÅTÀ³¡C
­Y·Æ¹«ÂIÀ»K5®É­n¸õ¥X´£¥Ü¡A«h¥Î§A²{¦bªºWorksheet_SelectionChange¨Æ¥ó
¥t¥~¡G
¨Ò¦p§Ú¦bK5¿é¤J¤F®ð²y...
¸ò«á­±ªºIf Range("K2") = "®ð²y" Then
   §¹¥þ¤£·f¹Ç

TOP

¦^´_ 4# oobird


    ¤j¤j±z¦n~§Ú¦Û¤v´ú¸Õ¤F¤U~§ä¨ì¤@­Ó«ÜÃþ¦üªº¤èªk~
Private Sub Worksheet_SelectionChange(ByVal Target As Range)

If Target.Cells.Count > 1 Then Exit Sub

If Union(Target, [K:K]).Address <> [K:K].Address Then Exit Sub

If Target = "®ð²y" Then
MsgBox "ª`·N¡G®ð²y¥²¶·¨Æ¥ý¥´®ð¡C"
End If

End Sub

¥H¤W·|°w¹ïKÄæÀx¦s®æ¥h§PÂ_~·íÂI¨ì¦³"®ð²y"¦r¼ËªºÀx¦s®æ¥ß§Y·|¸õ¥Xª`·Nµøµ¡

¦Ó§Úªº»Ý¨D«h¬O·í¸ÓÀx¦s®æ¿é¤J®ð²yªº®É­Ô¸õ¥Xª`·Nµøµ¡~§Ú¸Ó¦p¦ó§ï¼g©O?

TOP

¦Ó§Úªº»Ý¨D«h¬O·í¸ÓÀx¦s®æ¿é¤J®ð²yªº®É­Ô¸õ¥Xª`·Nµøµ¡~§Ú¸Ó¦p¦ó§ï¼g©O
«e­±¤£¬O»¡¤F¶Ü¡H
³oºØ­n¨D¨Ï¥ÎªºÀ³¸Ó¬O Worksheet_Change¨Æ¥ó
¦b§ïÅܩοé¤JÀx¦s®æ®ÉÅTÀ³¡C
§A¥i¸Õ¸Õ¡G
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Or Target.Column <> 11 Then Exit Sub
If Target = "®ð²y" Then
MsgBox "ª`·N¡G®ð²y¥²¶·¨Æ¥ý¥´®ð¡C"
End If
End Sub

­Y§A°í«ù¥ÎWorksheet_SelectionChange¨Æ¥ó
¯«¥P³£À°¤£¤F§A¡C

TOP

¦^´_ 6# oobird

¥i¯à¬O¼Ó¥D¥¼©ú¥Õ Worksheet_SelectionChange ©M Worksheet_Change ªº¤À§O§a~
³o­Ó¦a¤è§Ú¥H«e¥ç¶O¤F«Ü¦h®É¶¡¤~²z¸Ñ .

³o¸Ì¦³­Ó¤£¿ùªº¸Ñ»¡:

http://gb.twbts.com/index.php/topic,717.0.html

TOP

        ÀR«ä¦Û¦b : ¡i¬°µ½Ävª§¡j¤H¥Í­n¬°µ½Ävª§¡A¤À¬í¥²ª§¡C
ªð¦^¦Cªí ¤W¤@¥DÃD