Consulting

Results 1 to 2 of 2

Thread: scraping vba dropdownlist

  1. #1
    VBAX Newbie
    Joined
    Nov 2018
    Posts
    2
    Location

    Talking scraping vba dropdownlist

    I have been trying to select an option of a field which does not allow me to do it in the way that is handled in the example.


    the html code is like this..


    <select id="Receptor_RfcCargado" name="Receptor.RfcCargado" class="form-control" value="" data-val-required="Este campo es obligatorio" data-val="true" onchange="seleccionaReceptor(this, true);">
    <option value="">Seleccione...</option>
    <option value="IPA730830 INGENIO" data-extra="cORKOhea+SJuf37c9RBW2g==">IPA730830 INGENIO</option>
    <option value="PAZ170614 MC PAZ SA DE CV" data-extra="cJwAbPgiZovQlfZuszc78g==">PAZ170614 MC PAZ SA DE CV</option>
    <option value="Otro " data-extra="oPUm+vK7lTP4wmqtTOOjGA==">Otro </option>
    </select>


    How to choose an option in a case like this?

    Yo hablo español, pero en cualquier idioma me podría ayudar mucho una respuesta.

  2. #2
    VBAX Expert Leith Ross's Avatar
    Joined
    Oct 2012
    Location
    San Francisco, California
    Posts
    552
    Location
    Hola Orbis,

    Estoy confundido. ¿Estás buscando una respuesta en código HTML o en VBA?
    Sincerely,
    Leith Ross

    "1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •