title: Generic Powerpoint Developer Controls Value Saving in VBA
body: <p>I am looking to create a sort of Quiz using Powerpoint and I would like to save the input given by the user.</p>
  
  <p>For example: If I ask the question: What is your favorite color? When they answer the question and click the next button, I would like to save the value of the textbox and append it to an output file.</p>
  
  <p>I already know how to get the value and write the value to a file.</p>
  
  <p>What I am looking to do is a sort of loop.</p>
  
  <p>Here is the pseudo-code:</p>
  
  <pre><code>foreach(Control c in CurrentSlide.Controls)
  {
       File.Append(c.Value);
  }
  </code></pre>
  
  <p>This way, no matter what controls are on the form, I want to save the value of each and every control.</p>
  
  <p>Is this possible in VBA? If not, do you have any generic solutions for this situation?</p>