1903emre34@gmail.com
Altın Üye
- Katılım
- 29 Mayıs 2016
- Mesajlar
- 946
- Excel Vers. ve Dili
- Microsoft Excel 2013 Türkçe
İyi günler,
"G" sütündaki bazı tutarları negatif yer almaktadır, onun pozitif çevrilmesi için aşağıdaki kod ek ilave yapabilir miyiz?
"G" sütündaki bazı tutarları negatif yer almaktadır, onun pozitif çevrilmesi için aşağıdaki kod ek ilave yapabilir miyiz?
Kod:
Sub Duzenle()
Dim i As Long, sat As Long, son As Long, a
son = Cells(Rows.Count, "A").End(xlUp).Row
sat = 1
For i = 1 To son
sat = Cells(sat, "A").End(xlDown).Row
If IsNumeric(Cells(sat, "A")) = False Then
a = Split(Cells(sat, "A"), " ")
Cells(sat, "B") = a(UBound(a))
End If
If sat = son Then Exit For
Next i
[B:B].SpecialCells(xlCellTypeBlanks).EntireRow.Delete
End Sub
