DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Kesişmeden kastınız nedir acaba ?
Sub kesisme59()
Dim k As Range, sat As Long, sut As Integer
Label54.Caption = ""
If ComboBox1.Value <> "" And ComboBox2.Value <> "" Then
Set k = Range("O6:O" & Rows.Count).Find(ComboBox2.Value, , xlValues, xlWhole)
If Not k Is Nothing Then sat = k.Row
Set k = Range("P5:IV5").Find(ComboBox1.Value, , xlValues, xlWhole)
If Not k Is Nothing Then sut = k.Column
If sat > 0 And sut > 0 Then Label54.Caption = Format(Cells(sat, sut).Value, "#,##0.00")
End If
End Sub
Dosyanız ektedir.
Kod:Sub kesisme59() Dim k As Range, sat As Long, sut As Integer Label54.Caption = "" If ComboBox1.Value <> "" And ComboBox2.Value <> "" Then Set k = Range("O6:O" & Rows.Count).Find(ComboBox2.Value, , xlValues, xlWhole) If Not k Is Nothing Then sat = k.Row Set k = Range("P5:IV5").Find(ComboBox1.Value, , xlValues, xlWhole) If Not k Is Nothing Then sut = k.Column If sat > 0 And sut > 0 Then Label54.Caption = Format(Cells(sat, sut).Value, "#,##0.00") End If End Sub