ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Trapping ScrollBar's Scroll Amount (https://www.excelbanter.com/excel-programming/329154-trapping-scrollbars-scroll-amount.html)

Gene[_8_]

Trapping ScrollBar's Scroll Amount
 
I'm trying to trap the scroll amount on a scroll bar (from the Forms
toolbox), and keep getting the dreaded "Object required" error...I hate
that... I know I need more than the ScrollBar6.Value, but can't figure
out what...

Any help would be appreciated...thanks...


Harald Staff

Trapping ScrollBar's Scroll Amount
 
Hi

MsgBox Sheets(1).ScrollBars(1).Value
MsgBox Sheets(1).DrawingObjects("Scroll Bar 1").Value
MsgBox Sheets(1).ScrollBars("Scroll Bar 1").Value

HTH. best wishes Harald

"Gene" skrev i melding
ups.com...
I'm trying to trap the scroll amount on a scroll bar (from the Forms
toolbox), and keep getting the dreaded "Object required" error...I hate
that... I know I need more than the ScrollBar6.Value, but can't figure
out what...

Any help would be appreciated...thanks...




Gene[_8_]

Trapping ScrollBar's Scroll Amount
 
Works great...thanks for the help...



All times are GMT +1. The time now is 12:20 AM.

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