- Katılım
- 9 Haziran 2014
- Mesajlar
- 14
- Excel Vers. ve Dili
- 2016 Türkçe
Merhaba Üstadlarım; aşağıdaki koda hatalı ise uyarı getiremiyorum desteğinizi bekler, iyi çalışmalar dilerim.
* range("y1) = Pivot tablonun süzgeç alanı , combobox1 de seçilen eğer yok ise hata mesajı vermesi gerekiyor ama tüm ürünlere veriyor : (
Private Sub CheckBox1_Click()
If CheckBox1 = True Then
Label10.Width = 1
Sheets("recete_derleme_m").Select
If Not Sheets("recete_derleme_m").Range("y1") = ComboBox1.Value Then
MsgBox ("Bu Ürünü Proje Kullanamazsınız!")
CheckBox1 = False
ComboBox1.Value = ""
TextBox4.Value = ""
t_mkt.Value = ""
Else
Sheets("recete_derleme_m").Range("y1") = ComboBox1.Value
End If
End If
If CheckBox1 = False Then
Label10.Width = 300
Prj1.Value = ""
mtr1.Value = ""
Exit Sub
End If
End Sub
* range("y1) = Pivot tablonun süzgeç alanı , combobox1 de seçilen eğer yok ise hata mesajı vermesi gerekiyor ama tüm ürünlere veriyor : (
Private Sub CheckBox1_Click()
If CheckBox1 = True Then
Label10.Width = 1
Sheets("recete_derleme_m").Select
If Not Sheets("recete_derleme_m").Range("y1") = ComboBox1.Value Then
MsgBox ("Bu Ürünü Proje Kullanamazsınız!")
CheckBox1 = False
ComboBox1.Value = ""
TextBox4.Value = ""
t_mkt.Value = ""
Else
Sheets("recete_derleme_m").Range("y1") = ComboBox1.Value
End If
End If
If CheckBox1 = False Then
Label10.Width = 300
Prj1.Value = ""
mtr1.Value = ""
Exit Sub
End If
End Sub

