title: Get href value from speicific class in vba
body: <p>Iwant to get the href link from the following code:</p>
  
  <pre><code>&lt;div class="border-content"&gt;
          &lt;div class="main-address"&gt;
  
              &lt;h2 class="address"&gt;
                  &lt;a href="/Propiedades/Detalles/7717095--Departamento-tipo-casa-de-1-Dormitorio-en-Venta-en-Capital-Federal?ViewNameResult=VistaResultados" title="Marcos paz 2500. Villa Devoto - Capital Federal"&gt;Marcos paz 2500&lt;span&gt;&lt;/span&gt;&lt;/a&gt;
              &lt;/h2&gt;
  </code></pre>
  
  <p>i tried using getelementsbytagname("a") but i don't know how to do that for the specific class "address". Any ideas?</p>