Convert cell or range value from text to number

Could you please refer the link i posted above that is having the desired code. thanks