- Katılım
- 16 Eylül 2006
- Mesajlar
- 265
- Excel Vers. ve Dili
- Excel 2016
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Cells(say, 12).Value = Format((Cells(say, 11) * dblOran) / 100, "0.00") [COLOR="Red"][B]* 1[/B][/COLOR]
Sub YuzdeHesapla(ByRef dblOran As Double)
Dim say As Integer
For say = 1 To Cells(65536, 11).End(3).Row + 1 ' HER AY LİSTENE GÖRE SATIR SAYISINI DÜZELT
If IsNumeric(Cells(say, 11)) And Not Cells(say, 11).Value = "" Then
Cells(say, 12).Value = Format((Cells(say, 11) * dblOran) / 100, "0.00") * 1 ' HER AY YÜZDE ORANINI DÜZELT
End If
Next
End Sub
Private Sub CommandButton1_Click()
If IsNumeric(TextBox2) Then
Call YuzdeHesapla(TextBox2)
Else
MsgBox "Girdiğiniz veri sayısal olmalı", vbCritical, "Uyarı"
With TextBox2
.SelStart = 0
.SelLength = Len(.Text)
.SetFocus
End With
End If
End Sub