how can i call this button in excel vba

wesley14

Board Regular
Joined
Dec 8, 2011
Messages
74
Code:
class="urPagDummy urBtnIco urSTbvBtnPgDown" onkeydown="if 
(sapUrMapi_Image_checkClick('htmlb_1452_htmlb_1436_72',event)){return htmlbDoEvent
(this,'S','_dflt','32','htmlb_1452_htmlb_1436',72,33,'',5,'pageDown','1','20','29','L')
what I want to do is click the page down button.. I think that is the code there from html source, but it seems evertime you load it it gives you a random/different ID.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

ParamRay

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

Use this instead:

Code:
Private Sub CommandButton1_Click()

    Window.LargeScroll Down:=1

End Sub
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,598
Messages
5,832,646
Members
430,150
Latest member
amitk1

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
Top