This codeline is a non sense as the variable is not an object and do you find any 'Substring' statement within the VBA help ?!