VBA Kısa Notlar – Lazım Olur
- Tıklanan Butonun Başlığını Alma:
Me.ActiveControl.Caption
- Seçilen Hücrenin Formatını Değiştirme:
Ondalıklı Sayı :Selection.NumberFormat = “#,#.00”
Tam Sayı:
Selection.NumberFormat = “#,#”
TextBox1’de yazanı alma:
Selection.NumberFormat = “#,###0″” ” & TextBox1.Text & “”””
- Formu Kapatma:
Unload Me
- Enter’a basılınca işleme alma
If KeyCode = 13 Then
Selection.NumberFormat = “#,###0.00″” ” & TextBox2.Text & “”””
Unload Me
End If