Steve Lebens Scroll Bar Position (1 Viewer)

evanscamman

Registered User.
Local time
Yesterday, 21:01
Joined
Feb 25, 2007
Messages
274
I used Steven Lebens code a few years ago to get and set the scroll bar position on a subform in Access 2003.

Now that I've upgraded to 2007 I noticed that the code no longer does anything. There are no errors, but no results either.

Looking on his site I don't see anything that talks about a compatability issue with 2007 - but then, he retired so I doubt he's knows or cares.

Anybody here know or have a guess to whether the code will stop functioning in 2007, or do you suspect that something else is the problem?

Thank you,
Evan
 

stopher

AWF VIP
Local time
Today, 05:01
Joined
Feb 1, 2006
Messages
2,395
Try changing the constant string "Scrollbar" in Leban's code to "NUIScrollbar". I think this is to do with Windows 7 api's.

Chris
 

evanscamman

Registered User.
Local time
Yesterday, 21:01
Joined
Feb 25, 2007
Messages
274
Wow! It works perfectly now! Thanks so much, because this stuff is WAY over my head. I'm just copying and pasting... :)
 

Users who are viewing this thread

Top Bottom