- Katılım
- 2 Mart 2005
- Mesajlar
- 2,960
- Excel Vers. ve Dili
-
ev: Ofis 2007- Win Xp
iş: Ofis 2010- Win Vista
Kod:
Sno03 = 0
For n = 2 To shT.Cells(65536, 2).End(xlUp)
If shT.Cells(n, 3) = arrMm(1, j) And shT.Cells(n, 4) = arrMm(2, j) Then
x = x + 1: Sno03 = Sno03 + 1
With shR
.Range(.Cells(x, "B"), .Cells(x, "C")).MergeCells = True
With .Range(.Cells(x, "E"), .Cells(x, "G"))
.MergeCells = True
.ShrinkToFit = True
.HorizontalAlignment = xlLeft
End With
.Range(.Cells(x, "B"), .Cells(x, "M")).Select: Call AltKenarlik
With .Cells(x, "D")
.Value = Sno03 [color="red"] Küçük harfle a,b,c,ç, z,aa,ab,az,aaa,aab,aaaa,aaab ........... vs şeklinde yazmak istiyorum.)[/color]
.Font.ColorIndex = 3
.Font.Bold = True
End With
' shR.Cells(x, 6) = shT.Cells(n, 6)
.Cells(x, "A").Value = shT.Cells(n, 2) 'Masraf Merkezi
.Cells(x, "E").Value = shT.Cells(n, 4) 'Masraf Merkezi
.Cells(x, "H").Value = shT.Cells(n, 1) 'Maliyet Yılı
.Cells(x, "I").Value = "Bütçesinden" 'Açıklaması
.Cells(x, "N").Value = shT.Cells(n, "F") 'Maliyet Yılı
With .Cells(x, "J")
.Value = shT.Cells(n, 5) 'Tutarı
.NumberFormat = "#,##0.00"
With .Font
.Name = "Courier New"
.ColorIndex = xlAutomatic
.Size = 9
.Bold = True
End With
End With
End With
End If
Next n
..........................
1 için a
2 için b
3 için c
4 için ç
30 için aa
şeklinde yazmak mümkünmüdür.