- Katılım
- 5 Eylül 2007
- Mesajlar
- 1,247
- Excel Vers. ve Dili
- ofis 2010
Sub kayit()
Sheets("SABLON").Activate: Sheets("SABLON").Range("A2:L2").Copy
satır = [A65536].End(3).Row + 1
With Sheets("ANAGİRİŞ")
satır = .[A65536].End(3).Row + 1: .Activate
.Range("B" & satır).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone
.Range("A" & satır) = WorksheetFunction.CountIf(.Range("F2:F" & satır), Range("F" & satır)) & "-" & Range("F" & satır)
.Range("Q" & satır) = Month(.Range("C" & satır))
End With
Application.CutCopyMode = False: Sheets("GIRIS").Activate
Sheets("GIRIS").[B2].Activate
End Sub
GIRIS sayfasına girdiğim bilgiler SABLON sayfasına gidip makro ile kaydoluyor. kayıttın sonra GIRIS sayfasındaki H2-I2-J2-K2 hücresine yazdığım değerinde silinmesini istiyorum. yukarıdaki makroya ne gibi ilave kod yapabilirim. teşekkürler
Sheets("SABLON").Activate: Sheets("SABLON").Range("A2:L2").Copy
satır = [A65536].End(3).Row + 1
With Sheets("ANAGİRİŞ")
satır = .[A65536].End(3).Row + 1: .Activate
.Range("B" & satır).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone
.Range("A" & satır) = WorksheetFunction.CountIf(.Range("F2:F" & satır), Range("F" & satır)) & "-" & Range("F" & satır)
.Range("Q" & satır) = Month(.Range("C" & satır))
End With
Application.CutCopyMode = False: Sheets("GIRIS").Activate
Sheets("GIRIS").[B2].Activate
End Sub
GIRIS sayfasına girdiğim bilgiler SABLON sayfasına gidip makro ile kaydoluyor. kayıttın sonra GIRIS sayfasındaki H2-I2-J2-K2 hücresine yazdığım değerinde silinmesini istiyorum. yukarıdaki makroya ne gibi ilave kod yapabilirim. teşekkürler
