renansor
03-25-2014, 10:48 AM
Hello,
I can log-in on the system - but, when i try select the <SELECT> html tag using vba i get the error: 91
I realize what <SELECT> tag is controlled with JavaScript and i cant proceed.
Anyone, can i help me?
HTML
<select name="ctl00$cphPrincipal$ddlEmpresa" onchange="javascript:setTimeout('__doPostBack(\'ctl00$cphPrincipal$ddlEmpresa\',\'\') ', 0)" id="ctl00_cphPrincipal_ddlEmpresa" style="background-color:#EBEBEB;border-color:#E2E2E2;border-width:1px;border-style:Solid;width:140px;"><option selected="selected" value="">Selecionar Item...</option><option value="4">Pessoa Jurídica</option>
I need to change de select's state to the value 4
HTML + VBA CODE in Attachments
Sorry for my bad english! Thanks!
I can log-in on the system - but, when i try select the <SELECT> html tag using vba i get the error: 91
I realize what <SELECT> tag is controlled with JavaScript and i cant proceed.
Anyone, can i help me?
HTML
<select name="ctl00$cphPrincipal$ddlEmpresa" onchange="javascript:setTimeout('__doPostBack(\'ctl00$cphPrincipal$ddlEmpresa\',\'\') ', 0)" id="ctl00_cphPrincipal_ddlEmpresa" style="background-color:#EBEBEB;border-color:#E2E2E2;border-width:1px;border-style:Solid;width:140px;"><option selected="selected" value="">Selecionar Item...</option><option value="4">Pessoa Jurídica</option>
I need to change de select's state to the value 4
HTML + VBA CODE in Attachments
Sorry for my bad english! Thanks!