ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro code to page down (https://www.excelbanter.com/excel-programming/310418-macro-code-page-down.html)

ed

Macro code to page down
 
Worksheets("abc").???????

Can anyone tell me what coding is needed (replacing the ?'s
and/or additional lines needed, if needed) in the above
line to make it page down 1 page on the screen?
(the same result as when you would press "page down" key on
keyboard.)

Or is that impossible to do?
I would like to know either way.
Thankyou
Ed

Gord Dibben

Macro code to page down
 
Ed

Sub Page_Down()

Worksheets("abc").Activate
ActiveWindow.LargeScroll Down:=1

End Sub

Gord Dibben Excel MVP

On Sat, 18 Sep 2004 09:11:15 -0700, "Ed"
wrote:

Worksheets("abc").???????

Can anyone tell me what coding is needed (replacing the ?'s
and/or additional lines needed, if needed) in the above
line to make it page down 1 page on the screen?
(the same result as when you would press "page down" key on
keyboard.)

Or is that impossible to do?
I would like to know either way.
Thankyou
Ed



ed

Macro code to page down
 

-----Original Message-----
Ed

Sub Page_Down()

Worksheets("abc").Activate
ActiveWindow.LargeScroll Down:=1

End Sub

Gord Dibben Excel MVP

On Sat, 18 Sep 2004 09:11:15 -0700, "Ed"


wrote:

Worksheets("abc").???????

Can anyone tell me what coding is needed (replacing the ?'s
and/or additional lines needed, if needed) in the above
line to make it page down 1 page on the screen?
(the same result as when you would press "page down" key on
keyboard.)

Or is that impossible to do?
I would like to know either way.
Thankyou
Ed


.
Gord

Thankyou, it works perfect.
Ed


All times are GMT +1. The time now is 07:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com