I am struggling to use the form data as a variable in my VBA code. Like if I put in the form a text box that has 'variable1 1', in VBA code it will appear as variable1=1. Is it possible? I have tried several ways like bang operator but it did not work. Thanks in advance.