- ©«¤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 ©ó 2016-1-14 20:40 ½s¿è
1.Sorry, §Ñ¤F½Ð§A§R°£¤W¦¸ Worksheet_Change(¦Û°Ê°õ¦æ) ªºVBA
Private Sub Worksheet_Change(ByVal Target As Range)
...
End Sub
2.¡ysheet2!A1 ¤£±µ¨üsheet1G12p¼Æ(¼ÆÈ) µLªk¦Û°Ê½Æ»s ¥u¯à¥Î¤â°Ê¿é¤J ¼Æ¦r «öEnter ¤~·|½Æ»s¤@¦¸¡z
ANS:©Ò¥H¤~§ï¥Î«ö¶s, ¤â°Ê±Ò°Ê¤U¦CVBA
Private Sub CommandButton1_Click()
Dim Rng As Range, Lst As Integer
If [A1] > 1 Then
Set Rng = [B$1:K$1]
Rng.Copy
Rng.Offset([A1] - 1, 0).PasteSpecial Paste:=xlPasteValues '¥u¶K¤WÈ, ¤½¦¡®æ¦¡µ¥¤£·|¶K¤W
End If
End Sub
3. ³s[A2]=-1¤]§ï¦¨¤â°Ê, ©Ò¥Hn¨âÓ«ö¶s
4. §A 9# ªºVBA³s¸Õ¸Õ³£¨S¸Õ§a!! |
|