- ©«¤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
|
¥»©«³Ì«á¥Ñ yen956 ©ó 2014-3-12 17:44 ½s¿è
¸É¥R»¡©ú¡G
¦bVBA½s¿è¾¹¤¤, Double Click ¥ªÃ䪺 "sheet1"...µ¥,
·|¥X²{ ªÅ¥Õ½s¿èµøµ¡,
«ö¤U ªÅ¥Õ½s¿èµøµ¡ ¥¿¤W¤èªº ¤U©Ô¦¡¿ï³æ, ¿ï¨ú "Worksheet",
¥kÃ䪺 ¤U©Ô¦¡¿ï³æ ¤¤, ¿ï¨ú "SelectionChange",
´N·|¦Û°Ê¸õ¥X:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
End Sub
¤§«á§A¦b "sheet1"... ¦p¦³ SelectionChange ªº°Ê§@,
´N·|IJ°Ê¦¹°Æµ{¦¡, ¨Ã±N Cell ªþ¤© Target,
¨Ò¦p±q A1 ²¾¨ì B2, «h Target=A1, ¨Ã¹ï¾ã±i Worksheet ¦³®Ä,
¦ý Intersect(Target, rngE) ¥i±N SelectionChange
ªº¦³®Ä½d³ò¨î¦b rngE ¤¤,
If Not Intersect(Target, rngE) Is Nothing Then
End If
Not Intersect(Target, rngE) Is Nothing¡÷tt±o¥¿
¡÷ªí¥Ü Target ¨Ã«D Nothing. |
|