DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sheets("sayfa1").Range("a1").next
Sheets("sayfa1").Range("a1").offset(0,1)
Private Sub CommandButton1_Click()
On Error Resume Next
If ComboBox1.Text = "" Then
MsgBox "Bir Değer Seçmelisiniz!!!"
Exit Sub
End If
For Each hucre In Range("a2:a" & WorksheetFunction.CountA(Range("a1:a65000")) + 1)
If StrConv(hucre.Value, vbUpperCase) = StrConv(ComboBox1.Value, vbUpperCase) Then
hucre.Select
t1 = CDbl(ComboBox1)
t2 = CDbl(TextBox1)
ActiveCell.Offset(0, 1).Value = t1 + t2
End If
Next
End Sub
For Each hucre In Range("a2:b5" & WorksheetFunction.CountA(Range("a1:a65000")) + 1)
Private Sub CommandButton1_Click()
On Error Resume Next
If ComboBox1.Text = "" Then
MsgBox "Bir Değer Seçmelisiniz!!!"
Exit Sub
End If
For Each hucre In Range("a2:b5" & WorksheetFunction.CountA(Range("a1:a65000")) + 1)
If StrConv(hucre.Value, vbUpperCase) = StrConv(ComboBox1.Value, vbUpperCase) Then
hucre.Select
t2 = CDbl(TextBox1)
t1 = ActiveCell.Offset(0, 1).Value
ActiveCell.Offset(0, 1).Value = t1 + t2
End If
Next
End Sub
Private Sub CommandButton1_Click()
On Error Resume Next
If ComboBox1.Text = "" Then
MsgBox "Bir Değer Seçmelisiniz!!!"
Exit Sub
End If
For Each hucre In Range("a2:b5" & WorksheetFunction.CountA(Range("a1:a65000")) + 1)
If StrConv(hucre.Value, vbUpperCase) = StrConv(ComboBox1.Value, vbUpperCase) Then
hucre.Select
t2 = CDbl(TextBox1)
t1 = ActiveCell.Offset(0, 1).Value
ActiveCell.Offset(0, 1).Value = t1 + t2
End If
Next
or Each hucre In Range("a2:b5" & WorksheetFunction.CountA(Range("a1:a65000")) + 1)
If StrConv(hucre.Value, vbUpperCase) = StrConv(ComboBox2.Value, vbUpperCase) Then
hucre.Select
t2 = CDbl(TextBox2)
t1 = ActiveCell.Offset(0, 1).Value
ActiveCell.Offset(0, 1).Value = t1 + t2
End If
Next
or Each hucre In Range("a2:b5" & WorksheetFunction.CountA(Range("a1:a65000")) + 1)
If StrConv(hucre.Value, vbUpperCase) = StrConv(ComboBox3.Value, vbUpperCase) Then
hucre.Select
t2 = CDbl(TextBox3)
t1 = ActiveCell.Offset(0, 1).Value
ActiveCell.Offset(0, 1).Value = t1 + t2
End If
Next
End Sub
StrConv(hucre.Value, vbUpperCase)
açılımı nedir?
Kod:StrConv: Stringi Verilen Moda cevirir. StrConv(String,Mod) String : cevirilecek metin Mod : vbLowerCase = Kücük harfe cevrilir vbUpperCase = Büyük harfe cevrilir vbProperCase = Ilk harf büyük digerleri kücük VbFromUnicode = Unicode'dan cevrilir vbUnicode = Unicode'a cevrilir vbHiragana = Hiragana vbKatakana = Katakana vbNarrow = Dar vbWide = Genis