TextBox Hanya Menerima Input Angka
Source code berikut untuk memfungsikan agar textbox hanya menerima input angka. Cocok digunakan untuk input kode pos atau no telepon. Yang diperlukan :1 Form1 TextBox Source code : view sourceprint?1Public Sub HanyaAngka(ByRef KeyAscii As Integer)2 If ((KeyAscii <>And KeyAscii <> 8