Convert cell or range value from text to number

im getting this error,

Invoke code: Exception has been thrown by the target of an invocation.