Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think this is along the right lines...
Private Sub textbox1_KeyPress(ByVal KeyAscii As _ MSForms.ReturnInteger) If Not IsNumeric(Chr(KeyAscii)) Then msgbox "Please only use numbers" KeyAscii = 0 End If End Sub Hope it is of some use -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
userform textbox | Excel Worksheet Functions | |||
UserForm TextBox to ActiveSheet TextBox over 256 characters | Excel Programming | |||
Help with Syntax UserForm TextBox | Excel Programming | |||
Userform Textbox in Password Validation | Excel Programming | |||
Populating Textbox in UserForm | Excel Programming |