I have a UserForm with a TextBox named TextBox1 and Command Button. I want to add code to the UserForm so if a number that is less than 10 is entered into TextBox1 and the command button is clicked the number 7 will paste into cell A5. However if the number in TextBox1 is greater than or equal to 10 nothing will happen when the command button is clicked. Can you assist with this?