Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Regular TextBox control scrolled to end

Status
Not open for further replies.

Tinkerers

Technical User
Sep 26, 2002
90
US
Hi,

I have a standard Microsoft TextBox control on a form in Excel. I populate this textbox with lots of data, so the user can view it. It has vertical scroll bars. Problem is this, after I get done populating the textbox, the vertical scroll bars are left scrolled all the way to the bottom.

How can I make the scroll bars be at the top, like normal ?

Thanks,
Paul
 
I just solved the problem:

TextBox1.CurLine = 0

This tells the control to display the 1st line.

Thanks anyways !
Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top