zulfuernek
Altın Üye
- Katılım
- 24 Haziran 2017
- Mesajlar
- 761
- Excel Vers. ve Dili
- türkçe
Private Sub_Enter()
TextBox1.BackColor =&HC0FFFF 'textboxların renk değiştirmesi
TextBox2.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox3.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox4.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox5.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox6.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox7.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox8.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox9.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox10.BackColor =VbWhite 'textboxların renk değiştirmesi
End Sub
elimde böyle bir formül var. 10 tane textbox var
hangi textboxa tıklarsam sarı olması ve çıkıncada beyaz olması için. bunların hepsini tek tek textboxlara atmak yerine belirlediğim aralıktaki hangi textboxa tıklarsam sarı yapsın.
TextBox1.BackColor =&HC0FFFF 'textboxların renk değiştirmesi
TextBox2.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox3.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox4.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox5.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox6.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox7.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox8.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox9.BackColor =VbWhite 'textboxların renk değiştirmesi
TextBox10.BackColor =VbWhite 'textboxların renk değiştirmesi
End Sub
elimde böyle bir formül var. 10 tane textbox var
hangi textboxa tıklarsam sarı olması ve çıkıncada beyaz olması için. bunların hepsini tek tek textboxlara atmak yerine belirlediğim aralıktaki hangi textboxa tıklarsam sarı yapsın.
