- Katılım
- 18 Ağustos 2007
- Mesajlar
- 22,184
- Excel Vers. ve Dili
-
Microsoft 365 Tr
Ofis 2016 Tr
Çalışma sayfası kod bölümüne kopyalayın. Önce #1 numaralı mesaja yazdığınız formülü sayfalardan silersiniz.
Fatura sayfası F sütunu yapılan işlem kodu tetikler.
.
Fatura sayfası F sütunu yapılan işlem kodu tetikler.
Kod:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim syf As Worksheet
If Intersect(Target, Range("F5:F" & Rows.Count)) Is Nothing Then Exit Sub
With Target
Set syf = Sheets("" & Cells(.Row, "C") & "")
sat = syf.Cells(200, "A").End(xlUp).Row + 1
syf.Cells(sat, "A") = Cells(.Row, "A")
syf.Cells(sat, "B") = Cells(.Row, "B")
syf.Cells(sat, "C") = Cells(.Row, "D")
syf.Cells(sat, "D") = Cells(.Row, "E")
syf.Cells(sat, "E") = Cells(.Row, "F")
End With
End Sub