İyi Günler;
excel çalışma kitabımda "Bilgi formu" sayfası mevcuttur.
Bilgi formu çalışma sayfasının D6 hücresine Hesap Nosu yazınca banka dönüşüm sayfasından D9 hücresine dosya nosu aşağıdaki kodla gelmekte. Ancak, D9 hücresindeki dosya nosuna göre D11, D12, D13 hücrelerie aynı anda liste sayfasında bilgi aktarmaktak istiyorum.
On Error Resume Next
If Target.Address <> "$D$6" Then Exit Sub
If Intersect(Target, [D6]) Is Nothing Then Exit Sub
If Target.Value = Empty Then Exit Sub
Set s1 = Sheets("bilgi formu")
Set s2 = Sheets("banka dönüşüm")
Set s3 = Sheets("Liste")
For Each bul In s2.Range("P5
5000")
If bul = Target.Value Then sat = bul.Row
Next
If sat = "" Then
MsgBox "ARADIĞINIZ HESAP NOSU BULUNAMADI.", vbInformation, "BİLGİ"
Exit Sub
End If
s1.Cells(9, "D").Value = s2.Cells(sat, "B").Value
s1.Cells(11, "D").Value = s3.Cells(sat, "D").Value
s1.Cells(12, "D").Value = s3.Cells(sat, "E").Value
s1.Cells(13, "D").Value = s3.Cells(sat, "G").Value
s1.Cells(14, "D").Value = s3.Cells(sat, "H").Value
s1.Cells(15, "D").Value = s3.Cells(sat, "I").Valu
Yardımlarınız için teşekkürler.
excel çalışma kitabımda "Bilgi formu" sayfası mevcuttur.
Bilgi formu çalışma sayfasının D6 hücresine Hesap Nosu yazınca banka dönüşüm sayfasından D9 hücresine dosya nosu aşağıdaki kodla gelmekte. Ancak, D9 hücresindeki dosya nosuna göre D11, D12, D13 hücrelerie aynı anda liste sayfasında bilgi aktarmaktak istiyorum.
On Error Resume Next
If Target.Address <> "$D$6" Then Exit Sub
If Intersect(Target, [D6]) Is Nothing Then Exit Sub
If Target.Value = Empty Then Exit Sub
Set s1 = Sheets("bilgi formu")
Set s2 = Sheets("banka dönüşüm")
Set s3 = Sheets("Liste")
For Each bul In s2.Range("P5
If bul = Target.Value Then sat = bul.Row
Next
If sat = "" Then
MsgBox "ARADIĞINIZ HESAP NOSU BULUNAMADI.", vbInformation, "BİLGİ"
Exit Sub
End If
s1.Cells(9, "D").Value = s2.Cells(sat, "B").Value
s1.Cells(11, "D").Value = s3.Cells(sat, "D").Value
s1.Cells(12, "D").Value = s3.Cells(sat, "E").Value
s1.Cells(13, "D").Value = s3.Cells(sat, "G").Value
s1.Cells(14, "D").Value = s3.Cells(sat, "H").Value
s1.Cells(15, "D").Value = s3.Cells(sat, "I").Valu
Yardımlarınız için teşekkürler.
