¤Á´«²Å¦X±ø¥óÄæ¦ì®É¡A¯à¸õ¥X°T®§®Øĵ¥Ü
- ©«¤l
- 105
- ¥DÃD
- 27
- ºëµØ
- 0
- ¿n¤À
- 168
- ÂI¦W
- 218
- §@·~¨t²Î
- Win10
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2011-6-30
- ³Ì«áµn¿ý
- 2024-11-23
|
¤Á´«²Å¦X±ø¥óÄæ¦ì®É¡A¯à¸õ¥X°T®§®Øĵ¥Ü
½Ð±Ð¦U¦ì¥ý¶i~
¦pªþ¥óªºªí¥Ü¡AY·í§Ú·Æ¹«ÂI¨ìD3 ©Î¬O D5®É¡A¥B¼Æ¦r¤j©ó1¦Ê¸U
¥i¦Û°Ê¸õ¥X"½Ð¥ý¤W§e¸³¨Æªø®Öã«á¡A¦A¥Ó½Ð"
¥Ø«e¥u·|¥Î®æ¦¡¤Æ¡A¦b¨ä¥LÄæ¦ì¤Wªí²{
¦ýÀ³¸Ó«ç»ò³]p ¤~¯à¸õ¥X°T®§®Ø©O?
ÁÂÁÂ¥ý¶iÌ«ü¾É~~
¹w±±¨qĵ¥Ü»y.zip (17.76 KB)
|
|
|
|
|
|
|
- ©«¤l
- 522
- ¥DÃD
- 36
- ºëµØ
- 1
- ¿n¤À
- 603
- ÂI¦W
- 0
- §@·~¨t²Î
- win xp sp3
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-12-13
- ³Ì«áµn¿ý
- 2021-7-11
|
¦^´_ 3# chi830
'èè¤~µo²{ [E3],[E5] ¬O¤½¦¡, ½Ð§R°£
'¤Sì¨Ó§Úªº·Qªk¦³ÂI°ÝÃD(½Ð§ó¥¿)
'¤Sì¨Óªº¼Æ¦r¬O10¸U,¤£¬O¦Ê¸U(¤w§ó¥¿)
'¤U¦C¨âªÌ¨Ã¦s (SelectionChange ¤Î Change)½Ð¥þ³¡¶K¤W
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "$D$3" And [D3] >= 1000000 Then
MsgBox "[D3]ªºª÷ÃB¶W¹L1¦Ê¸U¡A½Ð¨Ì®Ö¨MÅv¤W§e¸³¨Æªø®Öã"
Exit Sub
End If
If Target.Address = "$D$5" And [D5] >= 1000000 Then
MsgBox "[D5]ªºª÷ÃB¶W¹L1¦Ê¸U¡A½Ð¨Ì®Ö¨MÅv¤W§e¸³¨Æªø®Öã"
Exit Sub
End If
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$D$3" And [D3] >= 1000000 Then
MsgBox "[D3]ªºª÷ÃB¶W¹L1¦Ê¸U¡A½Ð¨Ì®Ö¨MÅv¤W§e¸³¨Æªø®Öã"
Exit Sub
End If
If Target.Address = "$D$5" And [D5] >= 1000000 Then
MsgBox "[D5]ªºª÷ÃB¶W¹L1¦Ê¸U¡A½Ð¨Ì®Ö¨MÅv¤W§e¸³¨Æªø®Öã"
Exit Sub
End If
End Sub |
|
|
|
|
|
|
- ©«¤l
- 105
- ¥DÃD
- 27
- ºëµØ
- 0
- ¿n¤À
- 168
- ÂI¦W
- 218
- §@·~¨t²Î
- Win10
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2011-6-30
- ³Ì«áµn¿ý
- 2024-11-23
|
¦^´_ 2# yen956
ÁÂÁÂyen956¥ý¶i~
±zªº»yªk¡Aªº½T¦³¦¨¥\Åã¥Ü°T®§¤F~
³£©Ç§Ú»y·N¨S»¡²M·¡¡ADÄæ¬O¤@Ó¿é¤Jª÷ÃBªºÄæ¦ì¡A©Ò¥H³Ì¨ÎªºÅã¥Ü°T®§Ä²µoÂI
À³¸Ó¦buser keyin§¹¼Æ¦r«á¡A¥un¶W¹L1¦Ê¸U¡A´N·|¸õ¥X°T®§
º¸«á¡AY·í·Æ¹«¦AÂI¨ì¸ÓÄæ¦ì®É¡A´N¦p¥ý¶i¥Ø«e©Ò¼g¡A¤]·|¸õ¥X°T®§
keyin§¹´NÅã¥Üªº³oӰʧ@¡A¤£ª¾±q¦ó¤U¤â...? |
|
|
|
|
|
|
- ©«¤l
- 522
- ¥DÃD
- 36
- ºëµØ
- 1
- ¿n¤À
- 603
- ÂI¦W
- 0
- §@·~¨t²Î
- win xp sp3
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-12-13
- ³Ì«áµn¿ý
- 2021-7-11
|
¦^´_ 1# chi830
¸Õ¸Õ¬Ý!- '©ñ¦b"¤u§@ªí1" ªºvba, ÄÝ"¤u§@ªí1" ±M¥Î(Private), ¤£¥Î¦A with...
- Private Sub Worksheet_SelectionChange(ByVal Target As Range)
- Dim mRng As Range
- Set mRng = Union([D3], [D5]) '³]©wTrigger½d³ò¬° [D3], [D5]
- If Not Intersect(Target, mRng) Is Nothing Then
- If [D3] >= 100000 Or [D5] >= 100000 Then
- MsgBox Range("E3")
- End If
- End If
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|