ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Code for scrollbar to go to top (https://www.excelbanter.com/excel-programming/341177-code-scrollbar-go-top.html)

Sandy

Code for scrollbar to go to top
 
Hello -

I need code to get the scrollbar to the top of the page for various
worksheets.
I couldn't find this anywhere in the VB help files -- just code for ActiveX
scrollbars.

Any suggestions are greatly appreciated!
--
Sandy

Cush

Code for scrollbar to go to top
 
Does this help:

ActiveWindow.ScrollRow=1

"Sandy" wrote:

Hello -

I need code to get the scrollbar to the top of the page for various
worksheets.
I couldn't find this anywhere in the VB help files -- just code for ActiveX
scrollbars.

Any suggestions are greatly appreciated!
--
Sandy


Tom Ogilvy

Code for scrollbar to go to top
 
Range("A1").Select

--
Regards,
Tom Ogilvy

"Sandy" wrote in message
...
Hello -

I need code to get the scrollbar to the top of the page for various
worksheets.
I couldn't find this anywhere in the VB help files -- just code for

ActiveX
scrollbars.

Any suggestions are greatly appreciated!
--
Sandy




Sandy

Code for scrollbar to go to top
 
Tom & Cush -

Thanks to both of you!!


--
Sandy


"Sandy" wrote:

Hello -

I need code to get the scrollbar to the top of the page for various
worksheets.
I couldn't find this anywhere in the VB help files -- just code for ActiveX
scrollbars.

Any suggestions are greatly appreciated!
--
Sandy



All times are GMT +1. The time now is 05:52 PM.

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