Web site by clicking the button

magushi

New Member
Joined
Sep 20, 2014
Messages
6
Dear, good day!


Again I come to request your assistance for this action;


Below is the code where I need to click a button.
The strange thing is that I am using the common code to clicking a button, but this is not working.
This being reported Error 91!


Below is the code button in html:



Below is the macro code to click on it:


.Document.getElementByid ("DetalhesProposta1_lnkbtnDocumentoEletronico"). Click



Can you help me?


GRATEFUL!
 
Last edited:

Some videos you may like

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

ParamRay

Well-known Member
Joined
Aug 6, 2014
Messages
1,195
.
.

Insert a Command Button with this code:

Code:
Private Sub CommandButton1_Click()

    ActiveWorkbook.FollowHyperlink _
        Address:="http://www.google.com/"

End Sub
 

samucavsj

New Member
Joined
Sep 22, 2014
Messages
2
.
.

Insert a Command Button with this code:

Code:
Private Sub CommandButton1_Click()

    ActiveWorkbook.FollowHyperlink _
        Address:="http://www.google.com/"

End Sub

My friend i use and dont function.

below follows the códigoas in html in which need to click.


<TD class = clsCampo2 align = left> <SPAN id = DetalhesProposta1_lblPropostaD> Proposal Mapfre </ SPAN> </ TD>
<TD style = "WIDTH: 300px" align = left> <SPAN id = DetalhesProposta1_lblPropostaDValue> 10407846860628243 </ SPAN> & nbsp; <INPUT style = "BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" id = DetalhesProposta1_lnkbtnDocumentoEletronico ******* = "************ ('/ EntradaPropostas /ImprimirProposta.aspx?NumeroNSU=10407846860628243 ',' ',' resizable = no, menubar = no, scrollbars = yes, width = 100, height = 100 '); "src = "../ Images / print.gif" type = image name = $ DetalhesProposta1 lnkbtnDocumentoEletronico> </ TD>
<TD style = "BACKGROUND-COLOR: #eee" colspan = 2 align = middle> <SPAN id = DetalhesProposta1_lblPropostaConciliadaD> Proposal reconciled with TronWeb </ SPAN> </ TD> </ TR>

I need click in DetalhesProposta1_lnkbtnDocumentoEletronico

I await your return!!

Thanks
 

Watch MrExcel Video

Forum statistics

Threads
1,114,421
Messages
5,547,824
Members
410,813
Latest member
Vhinzvirgo
Top