title: How to use Excel VBA to click a web CSS button?
body: <p>I am creating a macro with Excel VBA that will submit an entry into an online database using information from an Excel spreadsheet. During this entry process, the macro needs to click on a CSS button. It isn't a form button, does not have an input type, no name, no id, and no source image except for a background image. I think my only hopes are either to click on the button based on the div class. Can anyone help?
  The button is here :</p>
  
  <pre><code>&lt;div class="v-captiontext"&gt;
      By Ankit
  &lt;/div&gt;
  &lt;td class="v-tabsheet-tabitemcell v-tabsheet-tabitemcell-selected" style=""&gt;
      &lt;div class="v-         tabsheet-tabitem v-tabsheet-tabitem-selected"&gt;
          &lt;div class="v-caption" style="width: 39px;"&gt;
              &lt;div class="v-captiontext"&gt;
                  By LOT&lt;/div&gt;
              &lt;div class="v-caption-clearelem"&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/td&gt;
  </code></pre>