Inputbox returns a String. Well, never mind. This remark was not for you but for the OP.