- Katılım
- 21 Ekim 2008
- Mesajlar
- 2,323
- Excel Vers. ve Dili
- Office 2013 - Eng
Kod:
Private Sub CommandButton1_Click()
Application.ScreenUpdating = False
Set s2 = Sheets("Payment")
Set s1 = Sheets("FORECAST")
For i = 1 To s1.OLEObjects.Count - 1
Set onay = s1.OLEObjects(i)
If Left(onay.Name, 8) = "CheckBox" And onay.Object.Value = True Then
satir = onay.BottomRightCell.Row
s1.Range(Cells(satir, "B"), Cells(satir, "M")).Copy
s2.Cells(s2.[b65536].End(3).Row + 1, "B").PasteSpecial Paste:=xlValues
kopyalanan = kopyalanan & satir & Chr(10)
End If
Next
Application.CutCopyMode = False
MsgBox "Aktarilan Satirlar Listesi" & Chr(10) & kopyalanan, vbInformation, "BILGI"
End Sub
arkadaslar buu sekilde bir kodum var sayfadan baska bir sayfaya checkbox`in true oldugu satirlari tasimak istiyorum, yardimci olurmusunuz ornek bir dosya ekledim, saygilar..
