Scrolling

i was wondering how to make a scroller stop at a certain spot. I have it set up as to when you push the button it scrolls the way you want it to. but i want it to stop after a certain length, which is when the information would stop. Does anyone have any idea what i could do.