The document contains VBA code for a userform with 6 text boxes and 2 option buttons. The code in SubCommandButton1_Click clears all text boxes when clicked. SubCommandButton2_Click validates that all text boxes contain text, then writes the text box values to a spreadsheet. It also writes a formula to the next column based on the selected option button, clears the text boxes, and displays a confirmation message.