- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 259
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-30
|
¦^´_ 7# myleoyes - Private Sub Worksheet_SelectionChange(ByVal Target As Range)
- Dim ar()
- If Target.Address <> "$L$2" Then Exit Sub
- x = InputBox("¿é¤J¼Æ¦r", , [AA1])
- y = InputBox("¿é¤J¦¸¼Æ", , 3)
- Do Until x = "" Or y = ""
- For i = 1 To y
- ReDim Preserve ar(s)
- ar(s) = x
- If s = Application.Max([A:A]) Then GoTo 10
- s = s + 1
- Next
- x = InputBox("¿é¤J¼Æ¦r", , 123)
- y = InputBox("¿é¤J¦¸¼Æ", , 3)
- Loop
- 10
- Range([L3], Cells(Rows.Count, 1).End(xlUp).Offset(, 11)) = ""
- If s > 0 Then [L3].Resize(s, 1) = Application.Transpose(ar)
- End Sub
½Æ»s¥N½X |
|