ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

¦³Ãö½Æ»s«ü©w¶K¤Wªº°ÝÃD?

¥»©«³Ì«á¥Ñ 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 ¤£±µ¨üsheet1G12­p¼Æ(¼Æ­È) µ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¤]§ï¦¨¤â°Ê, ©Ò¥H­n¨â­Ó«ö¶s
4. §A 9# ªºVBA³s¸Õ¸Õ³£¨S¸Õ§a!!

TOP

        ÀR«ä¦Û¦b : °ß¨ä´L­«¦Û¤vªº¤H¡A¤~§ó«i©óÁY¤p¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD