¼È°±Worksheet_SelectionChange
- ©«¤l
- 176
- ¥DÃD
- 98
- ºëµØ
- 0
- ¿n¤À
- 279
- ÂI¦W
- 0
- §@·~¨t²Î
- window 7
- ³nÅ骩¥»
- office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-2-17
- ³Ì«áµn¿ý
- 2020-4-8
|
¼È°±Worksheet_SelectionChange
YªG¤u§@ªí¤¤¨Ï¥Î¤F
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
¦p¦ó¥i¥H·í°õ¦æ¥t¤@Ó¥¨¶°®É¥i¼È®É°±¤î¸Ó¥¨¶°ªº¹B§@
¤Î¦p¦óÅýµ{¦¡ª¾¹D²{®É¬O¨ºÓ¥¨¶°°õ¦æ¤¤
½Ð«ü±Ð |
|
|
|
|
|
|
- ©«¤l
- 1018
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 1058
- ÂI¦W
- 0
- §@·~¨t²Î
- win7 32bit
- ³nÅ骩¥»
- Office 2016 64-bit
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-9
- ³Ì«áµn¿ý
- 2022-9-28
|
¦^´_ 1# enoch
Private Sub Worksheet_SelectionChange ³o¬O¤u§@ªíSelectionChange¨Æ¥ó
¨ä¥L¥¨¶°¤¤¥i¥Î Application.EnableEvents ¼È®É°±¤îIJµo©MÁÙì- Private Sub Worksheet_SelectionChange(ByVal Target As Range)
- MsgBox Target.Address
- End Sub
- Sub myTest()
- Application.EnableEvents = False '¼È°±Excel¨Æ¥ó
- Range("E5").Select '¤£·|¸õ¥X°T®§
- Application.EnableEvents = True 'ÁÙìExcel¨Æ¥ó
-
- Range("E6").Select '·|¸õ¥X°T®§
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|