- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¦^´_ 3# owen06
¥[¤W Dim i As Integer ´N OK ¤F¡I- Option Explicit
- 'EnableEvents ÄÝ©Ê ¦pªG«ü©wª«¥ó¯àIJµo¨Æ¥ó¡A«h¥»Äݩʬ° True¡CŪ/¼g Boolea
- 'ª«¥ó¯àIJµo¨Æ¥ó -> ±Ò°Êª«¥óªº¹w³]µ{§Ç
- Private Sub Worksheet_Change(ByVal Target As Range) 'Worksheet_Change ¤u§@ªíÀx¦s®æ¦³×§ïªº¹w³]µ{§Ç
- Dim i As Integer
- Application.EnableEvents = False '°±¤î: IJµo¨Æ¥ó
- For i = 1 To 10
- Cells(i, 3) = Cells(i, 2) + Cells(i, 1)
- Next
- Application.EnableEvents = True ''±Ò°Ê: IJµo¨Æ¥ó
- End Sub
½Æ»s¥N½X |
|