- Katılım
- 8 Haziran 2007
- Mesajlar
- 761
- Excel Vers. ve Dili
- excel- 2003 Türkçe
Aşağıdaki formülde Bordro sayfası üzerinde işlem yapılıyor.
Benim istediğim Bordro sayfasındaki AU sütunu ile Personel Bilgi sayfasındaki AT sutununu toplamak Ama Toplam Yine Personel bilgi sayfasında olsun.
Private Sub CommandButton3_Click()
Sheets("Bordro").Select
If MsgBox("Toplamak İstediğnden Eminmisin.", vbYesNo) = vbNo Then
Exit Sub
End If
For i = 11 To 335
Değer1 = 0
Değer2 = 0
If IsNumeric(Cells(i, "AU")) = True Then Değer1 = Cells(i, "AU")
If IsNumeric(Cells(i, "AT")) = True Then Değer2 = Cells(i, "AT")
Cells(i, "AU").Value = Değer1 + Değer2
Next i
End Sub
Benim istediğim Bordro sayfasındaki AU sütunu ile Personel Bilgi sayfasındaki AT sutununu toplamak Ama Toplam Yine Personel bilgi sayfasında olsun.
Private Sub CommandButton3_Click()
Sheets("Bordro").Select
If MsgBox("Toplamak İstediğnden Eminmisin.", vbYesNo) = vbNo Then
Exit Sub
End If
For i = 11 To 335
Değer1 = 0
Değer2 = 0
If IsNumeric(Cells(i, "AU")) = True Then Değer1 = Cells(i, "AU")
If IsNumeric(Cells(i, "AT")) = True Then Değer2 = Cells(i, "AT")
Cells(i, "AU").Value = Değer1 + Değer2
Next i
End Sub