- Katılım
- 5 Kasım 2007
- Mesajlar
- 4,727
- Excel Vers. ve Dili
- 64 Bit TR - Microsoft Office 365 - Win11 Home
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub CommandButton1_Click()
Range("B2:G6").Interior.ColorIndex = xlNone
Set BULX = Range("A:A").Find(TextBox1, LookAt:=xlWhole)
Set BULY = Rows("1:1").Find(TextBox2, LookAt:=xlWhole)
If Not BULX Is Nothing And Not BULY Is Nothing Then
TextBox3 = Cells(BULX.Row, BULY.Column)
Cells(BULX.Row, BULY.Column).Interior.ColorIndex = 34
Else
TextBox3 = Empty
End If
End Sub
Merhaba,
Kodları aşağıdakilerle değiştirerek deneyin..
Kod:Private Sub CommandButton1_Click() Range("B2:G6").Interior.ColorIndex = xlNone Set BULX = Range("A:A").Find(TextBox1, LookAt:=xlWhole) Set BULY = Rows("1:1").Find(TextBox2, LookAt:=xlWhole) If Not BULX Is Nothing And Not BULY Is Nothing Then TextBox3 = Cells(BULX.Row, BULY.Column) Cells(BULX.Row, BULY.Column).Interior.ColorIndex = 34 Else TextBox3 = Empty End If End Sub
.
Syn. 1Al2Ver;
Dosyanıza alternatif olarak bir dosya ekledim.