Hi,

I have this code

function number( n as double) as double

number=n+1

end function


Simple

Now I want; if someone decide to put a string instead a double in the cell to show something like msgbox("error") and erase #value!

Please help me!

Thx