VBA Kısa Notlar – Lazım Olur

  1. Tıklanan Butonun Başlığını Alma: 

    Me.ActiveControl.Caption

  2. 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 & “”””

  3. Formu Kapatma:

    Unload Me

  4. Enter’a basılınca işleme alma

    If KeyCode = 13 Then
    Selection.NumberFormat = “#,###0.00″” ” & TextBox2.Text & “”””
    Unload Me
    End If

Bir cevap yazın

Your email address will not be published. Required fields are marked *.

*
*
You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>