title: Display PDF in Excel VBA UserForm
body: <p>I am running Excel 2016, which may be relevant if the below is a compatibility issue...</p>
  
  <p><strong>In short, I am trying to display a PDF, embedded in a UserForm in Excel.</strong> </p>
  
  <p>I have a UserForm, say <code>UserForm1</code>.</p>
  
  <p>I have enabled the following extra references:</p>
  
  <ul>
  <li>Microsoft Visual Basic for Applications Extensibility 5.3</li>
  <li>Adobe Acrobat Browser Control Type Library 1.0</li>
  </ul>
  
  <p>This allows me to add the <code>Adobe PDF Reader</code> as an "Additional Control"</p>
  
  <p><a href="https://i.stack.imgur.com/VgMP0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VgMP0.png" alt="Additional Controls dialog"></a></p>
  
  <p>The control appears as a hatched box icon (bottom left), which I'm not sure it's meant to. Then if I try to add one of these objects to <code>UserForm1</code> (both programmatically and in design view) it gives me an error</p>
  
  <blockquote>
    <p>Element not found</p>
  </blockquote>
  
  <p>For reference, the relevant lines of VBA I was using were:</p>
  
  <pre><code>Dim PDFviewer As AcroPDF
  Set PDFviewer = PDForm.Frame1.Controls.Add("AcroPDF.PDF.1")
  </code></pre>
  
  <p>Which I took from this Adobe forums thread: <a href="https://forums.adobe.com/thread/1065554" rel="nofollow noreferrer">https://forums.adobe.com/thread/1065554</a></p>
  
  <p>Resources online suggest it might be that the AcroPDF control is no longer supported. If so, is there another way to achieve what I want?</p>