I have what seems like a simple question for VBA. I am creating my own
scrollbar for word and would like to then Hide words scrollbar using
ActiveWindow.DisplayVerticalScrollBar = False
but when i do this I can't set/get the scroll position using
ActiveWindow.VerticalPercentScrolled
any Ideas?
P.S. I also can't find a way to use the ActiveWindow.SmallScroll
because I can't find the max Units to scroll down and the max units to
scroll Up.
G'day "David M. Pierce" <DMP@EHTI.NET>,
Dude - you r asking the impossible. Cummon, if we banish the bar, how
could we read its current value?
Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)
Without prejudice
David M. Pierce reckoned:
>I have what seems like a simple question for VBA. I am creating my own
>scrollbar for word and would like to then Hide words scrollbar using
[quoted text clipped - 9 lines]
>because I can't find the max Units to scroll down and the max units to
>scroll Up.
David M. Pierce - 13 Jun 2005 20:22 GMT
What I really need is to know how many times you can call
ActiveWindow.SmallScroll before you get to the end of the document.