- Katılım
- 25 Aralık 2007
- Mesajlar
- 335
- Excel Vers. ve Dili
- exel 2000 türkçe
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
ekteki dosyadaki userformun listboxındaki seçilen satırı sağ tuşla nasıl silebilirim.
saygılar
Private Sub UserForm_Initialize()
ListBox1.ColumnCount = 12
ListBox1.ColumnWidths = "50;50;50;50;50;50;50;50;50"
ListBox1.List = Range("a1:L" & [a65536].End(3).Row).Value
End Sub
Private Sub ListBox1_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
On Error Resume Next
If Button = 2 Then
ListBox1.RemoveItem ListBox1.ListIndex
End If
End Sub
Private Sub ListBox1_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
On Error Resume Next
If Button = 2 Then
ListBox1.Selected((Y / 9.98)) = True
ListBox1.RemoveItem ListBox1.ListIndex
End If
End Sub