title: Control camera from Visio 16 VBA
body: <p>I found a snippet of code for taking a photo with the webcam using microsoft Excel:</p>
  
  <pre><code>CommandBars.FindControl(ID:=1764).Execute
  </code></pre>
  
  <p>I'd very much like to use this in Visio, which we'll be using to take photos on tablets.  I've searched the code, but can find nothing in the Vision msdn documentation:</p>
  
  <p><a href="https://msdn.microsoft.com/en-us/library/office/ff765940.aspx" rel="nofollow">https://msdn.microsoft.com/en-us/library/office/ff765940.aspx</a></p>
  
  <p>or the object browser in commandbuttons.  I can't find (don't know how to find) the name of the control in Excel.  Can anyone help with this please?</p>