title: VBA innertext of the selected option for HTML dropdown list
body: <p>Is there a way to select the innertext of the selected option for a webpages dropdown list? I was trying this way but kept getting an error Object Required:</p>
  
  <pre><code>Dim drp As Object
  Set drp = IE.Document.getElementById("ctl05_Dropdownlist1").selectedindex
  Range("J" &amp; (ActiveCell.Row)) = drp.innertext
  </code></pre>
  
  <p>Im trying to pull the selected options innertext from the following part of HTML sourcecode:</p>
  
  <pre><code>&lt;select name="ctl05$Dropdownlist1" id="ctl05_Dropdownlist1" disabled="disabled" class="input"&gt;
  &lt;option value=""&gt;&lt;/option&gt;
  &lt;option selected="selected" value="1"&gt;*DIRECT ISSUE&lt;/option&gt;
  &lt;option value="2"&gt;*DIWELD&lt;/option&gt;
  &lt;option value="3"&gt;*INACTIVE&lt;/option&gt;
  </code></pre>