- Katılım
- 28 Haziran 2007
- Mesajlar
- 206
- Excel Vers. ve Dili
- Excel 2003 İngilizce
Aktarma işleminde satırlara veri girildiğinde, satır arka fonuna renk vermek için (mavi ve açık mavi olabilir) faşağıdaki kodlara nasıl bir kod eklemek gerekecek ? Eklenen satır mavi renk alacaksa bir sonraki açık mavi olarak oluşması satırları ayırmak için daha iyi olacağından çift renk uygulamasını nasıl yapabiliriz ?
Aktarma Makrosu:
For B = 2500 To 1 Step -1
If Cells(B, 4).Value = ComboBox17.Value Then
Cells(B, 4).Select
GoTo dur
End If
Next B
dur:
TextBox25.Value = Cells(ActiveCell.Row, 1).Value 'inşaat şirketi c
TextBox9.Value = Cells(ActiveCell.Row, 3).Value 'inşaat şirketi c
ComboBox12.Value = Cells(ActiveCell.Row, 2).Value 'mimari ofis d
TextBox4.Value = Cells(ActiveCell.Row, 4).Value 'görüşülen proje d
ComboBox3.Value = Cells(ActiveCell.Row, 5).Value 'ŞEHİR L
TextBox5.Value = Cells(ActiveCell.Row, 6).Value 'ilgili kişi
TextBox8.Value = Cells(ActiveCell.Row, 8).Value 'tel no h
TextBox24.Value = Cells(ActiveCell.Row, 7).Value 'E-MAIL H
ComboBox9.Value = Cells(ActiveCell.Row, 9).Value 'görüşme şekli i
ComboBox11.Value = Cells(ActiveCell.Row, 10).Value 'görüşen kişiJ
ComboBox15.Value = Cells(ActiveCell.Row, 11).Value 'tarih k
ComboBox4.Value = Cells(ActiveCell.Row, 12).Value 'bitiş tarihi L
ComboBox14.Value = Cells(ActiveCell.Row, 13).Value 'VERİLEN DÖKÜMAN M
ComboBox6.Value = Cells(ActiveCell.Row, 14).Value 'proje aşaması
TextBox12.Value = Cells(ActiveCell.Row, 15).Value 'GÖRÜŞME AŞAMASI N
ComboBox10.Value = Cells(ActiveCell.Row, 16).Value 'SON DURUM O
TextBox20.Value = Cells(ActiveCell.Row, 17).Value 'Notlar
TextBox18.Value = Cells(ActiveCell.Row, 18).Value 'TUTARI
Do While Not IsEmpty(ActiveCell)
ActiveCell.Offset(1, 0).Select
Loop
Cells(ActiveCell.Row, 1).Select
End Sub
Aktarma Makrosu:
For B = 2500 To 1 Step -1
If Cells(B, 4).Value = ComboBox17.Value Then
Cells(B, 4).Select
GoTo dur
End If
Next B
dur:
TextBox25.Value = Cells(ActiveCell.Row, 1).Value 'inşaat şirketi c
TextBox9.Value = Cells(ActiveCell.Row, 3).Value 'inşaat şirketi c
ComboBox12.Value = Cells(ActiveCell.Row, 2).Value 'mimari ofis d
TextBox4.Value = Cells(ActiveCell.Row, 4).Value 'görüşülen proje d
ComboBox3.Value = Cells(ActiveCell.Row, 5).Value 'ŞEHİR L
TextBox5.Value = Cells(ActiveCell.Row, 6).Value 'ilgili kişi
TextBox8.Value = Cells(ActiveCell.Row, 8).Value 'tel no h
TextBox24.Value = Cells(ActiveCell.Row, 7).Value 'E-MAIL H
ComboBox9.Value = Cells(ActiveCell.Row, 9).Value 'görüşme şekli i
ComboBox11.Value = Cells(ActiveCell.Row, 10).Value 'görüşen kişiJ
ComboBox15.Value = Cells(ActiveCell.Row, 11).Value 'tarih k
ComboBox4.Value = Cells(ActiveCell.Row, 12).Value 'bitiş tarihi L
ComboBox14.Value = Cells(ActiveCell.Row, 13).Value 'VERİLEN DÖKÜMAN M
ComboBox6.Value = Cells(ActiveCell.Row, 14).Value 'proje aşaması
TextBox12.Value = Cells(ActiveCell.Row, 15).Value 'GÖRÜŞME AŞAMASI N
ComboBox10.Value = Cells(ActiveCell.Row, 16).Value 'SON DURUM O
TextBox20.Value = Cells(ActiveCell.Row, 17).Value 'Notlar
TextBox18.Value = Cells(ActiveCell.Row, 18).Value 'TUTARI
Do While Not IsEmpty(ActiveCell)
ActiveCell.Offset(1, 0).Select
Loop
Cells(ActiveCell.Row, 1).Select
End Sub