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:

excel-png--4


Below is the macro code to click on it:


.Document.getElementByid ("DetalhesProposta1_lnkbtnDocumentoEletronico"). Click



Can you help me?


GRATEFUL!
 
Last edited:

Excel Facts

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

Insert a Command Button with this code:

Code:
Private Sub CommandButton1_Click()

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

End Sub
 
Upvote 0
.
.

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
 
Upvote 0

Forum statistics

Threads
1,216,131
Messages
6,129,066
Members
449,485
Latest member
greggy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top