![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 20
|
I have a text box on a user form how do I make sure the only type of text that can be entered is numerical?
|
|
|
|
|
|
#2 |
|
New Member
Join Date: Mar 2002
Posts: 20
|
also how do I get an error message to appear if a text box is empty
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Where the wild roses grow
Posts: 285
|
Regarding the message if it's empty, tyou could try:
If Textbox1 = "" Then MsgBox "Field must be answered before you can proceed" Exit Sub End If |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|