Check for Integer

G

garyh

Does anyone know of an easy way to check a control to
determine if it's an integer? Any help is welcome, thanks.

Gary
 
M

Marshall Barton

Does anyone know of an easy way to check a control to
determine if it's an integer? Any help is welcome, thanks.

I thought I answered this question yesterday.
 
W

Wayne Morgan

If IsNumeric(Me.txtMyTextbox) Then
If Me.txtMyTextbox = Int(Me.txtMyTextbox) Then
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top