isnumber()

  • Thread starter Thread starter mark kubicki
  • Start date Start date
M

mark kubicki

....trying to us any of the IS functions, and i'm getting a "function not
defined error"; in particular while using the ISNUMBER() function, any
suggestions?


thanks in advance, mark
 
I am not an expert but I think there is no <isnumber> but use
<isnumeric(expression)> for example if D6 is a number
in immediate window type
?isnumeric(range("d6")
it will give <true>
 
...trying to us any of the IS functions, and i'm getting a "function not
defined error"; in particular while using the ISNUMBER() function, any
suggestions?


thanks in advance, mark

ISNUMBER is a worksheet function, so you need to call it using:

application.WorksheetFunction.IsNumber(...)

VBA has an ISNUMERIC function that can be called directly. Look at HELP for
each.


--ron
 

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

Back
Top