- Katılım
- 29 Ağustos 2023
- Mesajlar
- 179
- Excel Vers. ve Dili
- 2013 Türkçe
- Altın Üyelik Bitiş Tarihi
- 07-03-2025
merhaba userform da buton işleminden sonra başka bir buton pasif yapmak istiyorum formu güncelleme yaptığım için bir türlü yazamadım kodu
aşağıda yazılı olan kod da CommandButton4.Visible = False nasıl yapıcam
nasıl olcak yardımlarınızı bekliyorum.
Private Sub CommandButton19_Click()
On Local Error Resume Next
If MsgBox("SEPET OLAN ÜRÜNLERİ ONAYLANDIKTAN SONRA YENİ ÜRÜN EKLENEMEZ. Emin misiniz?", vbYesNo, "") = vbNo Then Exit Sub
Dim i As Integer, a As Integer
Application.ScreenUpdating = True
For i = 28 To 477
a = Cells(i, "k").MergeArea.Cells.Count
If Cells(i, "k") = 0 Then
Rows(i).Resize(a, 1).EntireRow.Hidden = True
End If
If a > 1 Then i = i + a - 1
Next i
Unload Me
urunsyf.Show
CommandButton4.Visible = False
end sub
aşağıda yazılı olan kod da CommandButton4.Visible = False nasıl yapıcam
nasıl olcak yardımlarınızı bekliyorum.
Private Sub CommandButton19_Click()
On Local Error Resume Next
If MsgBox("SEPET OLAN ÜRÜNLERİ ONAYLANDIKTAN SONRA YENİ ÜRÜN EKLENEMEZ. Emin misiniz?", vbYesNo, "") = vbNo Then Exit Sub
Dim i As Integer, a As Integer
Application.ScreenUpdating = True
For i = 28 To 477
a = Cells(i, "k").MergeArea.Cells.Count
If Cells(i, "k") = 0 Then
Rows(i).Resize(a, 1).EntireRow.Hidden = True
End If
If a > 1 Then i = i + a - 1
Next i
Unload Me
urunsyf.Show
CommandButton4.Visible = False
end sub