- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 60
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2025-3-11
               
|
¦^´_ 1# av8d
°²³]¸ê®Æ¦bAÄæ
¤u§@ªí¼Ò²Õ- Private Sub Worksheet_SelectionChange(ByVal Target As Range)
- Application.EnableEvents = False
- If Target.Count = 1 Then
- If Target.Column = 1 Then
- ReDim Preserve Ar(s)
- Ar(s) = Target.Value
- s = s + 1
- [B65536].End(xlUp).Offset(1) = Target
- Target.Delete xlShiftUp
- End If
- End If
- Application.EnableEvents = True
- End Sub
½Æ»s¥N½X ¤@¯ë¼Ò²Õ- Public Ar(), s&
- Sub «ö¶s1_Click()
- If s = 0 Then Exit Sub
- Application.EnableEvents = False
- [A1].Resize(s, 1).Insert xlShiftDown
- [A1].Resize(s, 1).Value = Application.Transpose(Ar)
- Range([B2], [B2].End(xlDown)).ClearContents
- s = 0: Erase Ar: Set Rng = Nothing
- Application.EnableEvents = True
- End Sub
½Æ»s¥N½X
|
|