- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 255
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-24
|
¦^´_ 3# fei6999
¤£À´§ATextBox1ªº§@¥Î¬O¬Æ»ò- Private Sub UserForm_Initialize()
- ListBox1.MultiSelect = fmMultiSelectMulti
- For Each a In Sheet1.[E7:E18]
- ListBox1.AddItem a
- Next
- End Sub
- Private Sub ¨ú®ø_Click()
- ¥æ©ö§R°£.Hide
- Unload Me
- End Sub
- Private Sub ½T©w_Click()
- Set rng = Sheet1.[E7:E18]
- With ListBox1
- If OptionButton1 = True Then
- ListBox1.Clear '²MªÅLIST
- rng(1).Offset(, 1).Resize(12, 5) = "" '²MªÅÀx¦s®æ¤º®e
- Else
- For i = .ListCount - 1 To 0 Step -1
- If .Selected(i) = True Then
- .RemoveItem .List(i) '²¾°£¶µ¥Ø
- rng(i + 1).Offset(, 1).Resize(, 5) = "" '²MªÅÀx¦s®æ¤º®e
- End If
- Next
- End If
- End With
- End Sub
½Æ»s¥N½X |
|