Paste into a new line in your VBA procedure (Ctrl+V.) Hint: If you want extra line breaks in your VBA code, press Enter to create those line breaks in the SQL View of the query or in your form. Open your query in SQL View, and copy the SQL statement to clipboard (Ctrl+C.) Paste into the first text box (Ctrl+V.) Click the button.