Validate Textboxes

C

Craig Coope

Hi,

What code do I use if I want only numbers and not text typed into a textbox?

Thanks...
 
B

Bob Flanagan

use isnumeric() to test the value.

Bob Flanagan
Macro Systems
144 Dewberry Drive
Hockessin, Delaware, U.S. 19707

Phone: 302-234-9857, cell 302-584-1771
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel
 
Top