press button via vb and excel

S

sal21

this sis a part of html page how to intercept button "avanti" and
press it? I use a macro to call internet explore to get data from web
and insert in xls.

</table><!-- Chiusura tabella
tabellaElencoFidi -->

<!-- paginazione START-->

<table align="center" border="0" width="100%">

<tr >
<td class="INFO"
align="center" colspan="11" >


<br>

<TABLE border="0" CELLPADDING="0" CELLSPACING="0" width="75"
height="25">
<TR>

<TD WIDTH="25%" ALIGN="left" class="DETTAGLIO">



<INPUT TYPE="button" NAME="PAGINA_INDIETRO"
ID="PAGINA_INDIETRO" VALUE="Indietro" DISABLED STYLE="width: 60px;
height: 20px; cursor: hand; font-family: Verdana, Arial, Helvetica,
sans-serif; font-size: 10px; font-weight: bold">
</TD>

<TD WIDTH="25%" ALIGN="center">

<FONT style="font-family: Verdana, Arial,
Helvetica, sans-serif; font-size: 10px; font-weight:
bold">&nbsp;Pagine&nbsp;1&nbsp;di&nbsp;4&nbsp;</FONT>

</TD>

<TD WIDTH="25%" ALIGN="right" class="DETTAGLIO">
<INPUT TYPE="button" onClick="javascript:
cambiaPagina( '2' );" NAME="PAGINA_AVANTI" ID="PAGINA_AVANTI"
VALUE="Avanti" STYLE="width: 60px; height: 20px; cursor: hand; font-
family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-
weight: bold">
</TD>

</TR>


</TABLE>
<INPUT TYPE="hidden" NAME="NUMERO_PAGINE" ID="NUMERO_PAGINE"
VALUE="4">



</td>
</tr>
<tr>
<td align="center"
colspan="11" class="INFO">
Totale fidi individuati:
302<br>
</td>
</tr>

</table>
<!-- paginazione STOP-->


</td>
</tr>
<tr>
<td>
<table align="center" border="0"
bordercolor="orange" id="tabellaBottoni">
<tr>
<td align="center">
<img name="dettaglio"
src="/antfat/images/elenco_fidi_on.gif" style="cursor:hand;"
border=0 ALT="Elenco Fidi del Cliente"
onClick="return ControlloRadio
('Selezionare un
Fido',document.formElencoFidi,'/antfat/ewaf/selezionaCliente;jsessioni
d=83makDFOL7-Uh_lIMmyNu_C'); ">
</td>
<td>
<a
href="/antfat/pagine/ricerca/ricercaAvanzata.jsp"><img name="ricerca"
src="/antfat/images/ricerca_avanzata_on.gif" style="cursor:hand;"
border=0 ALT="Ricerca Avanzata">
</a>
</td>

</tr>


</table><!-- Chiusura tabella bottoni -->
</td>
</tr>
</table>
</form>
</body>
</html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top