Getting a Function not defined in VBA editor for IsNumber()

D

Dennis

Using 2003

The IsNumber() function gets a Compile error in an Excel VBA project. ("Sub
or function not defined")

I have used it previously in other VBA code. The procedure is not declared
Private nor is Option Private Module in effect.

I am calling the function from my Personal.xls for evaluating a cell in a
separate worksheet.

Which DLL library is it in?

What dumb obvious error did I do? Hit me.

Thanks Dennis
 
C

Chip Pearson

Dennis,

ISNUMBER is a worksheet function. IsNumeric is the VBA function
you're looking for.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
D

Dennis

One of these days I'll remember that! Actually, 30 sec's after sending, I
thought that but I had hit F1 in the VBA editor and thought I was reading
from the VBA help.

Thanks Chip
 

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