ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Changing the worksheet scrollbar increment (https://www.excelbanter.com/excel-programming/444160-changing-worksheet-scrollbar-increment.html)

[email protected]

Changing the worksheet scrollbar increment
 
Is it possible to change the behaviour of the scrollbar that allows
the user to scroll widthwise through the columns of the worksheet.
What it am looking to do is change the increment from being one column
per click to something like 12 columns.

GS[_2_]

Changing the worksheet scrollbar increment
 
pretended :
Is it possible to change the behaviour of the scrollbar that allows
the user to scroll widthwise through the columns of the worksheet.
What it am looking to do is change the increment from being one column
per click to something like 12 columns.


Do you mean other than pressing PgUp/PgDn keys while holding down the
Alt key? (ergo moving left/right one screen width at a time)

--
Garry

Free usenet access at
http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc



[email protected]

Changing the worksheet scrollbar increment
 
On Jan 25, 3:15*pm, GS wrote:
pretended :

Is it possible to change the behaviour of the scrollbar that allows
the user to scroll widthwise through the columns of the worksheet.
What it am looking to do is change the increment from being one column
per click to something like 12 columns.


Do you mean other than pressing PgUp/PgDn keys while holding down the
Alt key? (ergo moving left/right one screen width at a time)

--
Garry

Free usenet access athttp://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


Yes exactly - is this possible to convey in code? Basically reprogram
the scrollbar to function as if the alt key and pgup or pgdn were
being pressed

David

GS[_2_]

Changing the worksheet scrollbar increment
 
pretended :
On Jan 25, 3:15*pm, GS wrote:
pretended :

Is it possible to change the behaviour of the scrollbar that allows
the user to scroll widthwise through the columns of the worksheet.
What it am looking to do is change the increment from being one column
per click to something like 12 columns.


Do you mean other than pressing PgUp/PgDn keys while holding down the
Alt key? (ergo moving left/right one screen width at a time)

--
Garry

Free usenet access athttp://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


Yes exactly - is this possible to convey in code? Basically reprogram
the scrollbar to function as if the alt key and pgup or pgdn were
being pressed

David


Ok, you can set ActiveWindow.ScrollColumn and/or ActiveWindow.ScrollRow
to a numeric value represent which column/row you want to scroll to the
top left position.

--
Garry

Free usenet access at
http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc




All times are GMT +1. The time now is 02:18 AM.

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