#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default Isnumeric

What else am I leaving out, still won't reconize just numbers
If Not IsNumeric(TextBox1.Text) Then
MsgBox "Units Must Be Numeric.", vbExclamation, "Floater Holidays"
Exit Sub
End If
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Isnumeric

recognises numbers here. What are you inputting?

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Richard" wrote in message
...
What else am I leaving out, still won't reconize just numbers
If Not IsNumeric(TextBox1.Text) Then
MsgBox "Units Must Be Numeric.", vbExclamation, "Floater Holidays"
Exit Sub
End If



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default Isnumeric

I tested it by inputing letters and it still took them

"Bob Phillips" wrote:

recognises numbers here. What are you inputting?

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Richard" wrote in message
...
What else am I leaving out, still won't reconize just numbers
If Not IsNumeric(TextBox1.Text) Then
MsgBox "Units Must Be Numeric.", vbExclamation, "Floater Holidays"
Exit Sub
End If




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Isnumeric

If I put any text in, I get the error message

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Richard" wrote in message
...
I tested it by inputing letters and it still took them

"Bob Phillips" wrote:

recognises numbers here. What are you inputting?

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Richard" wrote in message
...
What else am I leaving out, still won't reconize just numbers
If Not IsNumeric(TextBox1.Text) Then
MsgBox "Units Must Be Numeric.", vbExclamation, "Floater Holidays"
Exit Sub
End If






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
vba problem with isnumeric Jean-Pierre D via OfficeKB.com Excel Programming 2 August 30th 05 10:09 AM
opposite of IsNumeric thephoenix12 Excel Discussion (Misc queries) 10 June 24th 05 07:37 PM
opposite of IsNumeric thephoenix12[_3_] Excel Programming 2 June 23rd 05 10:29 PM
IsNumeric Test scott Excel Programming 5 February 8th 05 07:59 PM
Not IsNumeric not working - or is it me? Ed Excel Programming 3 January 6th 05 11:30 PM


All times are GMT +1. The time now is 05:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"