Solved

What's the best way to determine whether input is numeric?

Posted on 2003-11-22
2
219 Views
Last Modified: 2010-05-18
I'm working on a spreadsheet and when a quantity is entered I want to grab the data however, I want to ignore anything other than numeric input. What's the best way to determine whether input is numeric?
0
Comment
Question by:LorangerG
2 Comments
 
LVL 15

Accepted Solution

by:
Timbo87 earned 125 total points
ID: 9803901
If Not IsNumeric(thenumber) Then MsgBox "Error, not numeric."
0
 

Author Comment

by:LorangerG
ID: 9803980
Thanks Tim. I appreciate the help!!!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now