CheckBox ve rapor

Katılım
13 Temmuz 2005
Mesajlar
134
Excel Vers. ve Dili
ofis xp, 2003
arkadşlar sçilen CheckBox un durumuna göre nasıl rapor oluştura bilirim
dosya ekdedir. tşk.
 

Levent Menteşoğlu

Administrator
Yönetici
Admin
Katılım
13 Ekim 2004
Mesajlar
16,057
Excel Vers. ve Dili
Excel 2010-32 bit-Türkçe
Excel 365 -32 bit-Türkçe
Raporla butonuna aşağıdaki kodu yazın.

[vb:1:7c6172e55a]Private Sub CommandButton1_Click()
Columns("a:d").Copy
Sheets("sayfa2").Select
Columns("a").PasteSpecial
Application.CutCopyMode = False
Sheets("sayfa1").Select
For a = 4 To 1 Step -1
If Controls("checkbox" & a).Value = False Then Sheets("sayfa2").Columns(a).Delete
Next
End Sub
[/vb:1:7c6172e55a]
 
Üst