title: How to Create a Simple Userform with Checkboxes in VBA
body: <p>I am extremely new to VBA and am trying to create a spreadsheet that uses a checkbox userform to populate a table in a spreadsheet. I have been able to get the table to populate, but if a box is accidentally checked and is unchecked, the table remains populated. How do I get the table to go back to being blank after a box is unchecked and what is an efficient way to code the 33 checkboxes to populate the 33 spaces in the spreadsheet.  Please see the images attached to aid in my description. </p>
  
  <p>Thanks,</p>
  
  <p><strong><em>Userform Image</em></strong><br>
  <a href="https://i.stack.imgur.com/0pM3l.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0pM3l.jpg" alt="enter image description here"></a></p>
  
  <p><strong><em>Spreadsheet Image</em></strong><br>
  <a href="https://i.stack.imgur.com/Wdgtc.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Wdgtc.jpg" alt="enter image description here"></a></p>