Scroll bar default is top

Folks,
I have a large text box with a vertical scroll bar in a multi-line format.
When the text box opens I'd like it to open by default at the top and then scroll down, not up.
Frank FreeseAsked:
Who is Participating?
 
Ejgil HedegaardConnect With a Mentor Commented:
Insert this in the userform code window

Private Sub UserForm_Initialize()
    Me.TextBox1.SelStart = 0
End Sub

Open in new window

0
 
etech0Commented:
What do you mean by "when the text  box opens"?
Doesn't it always default to the top?
0
 
Frank FreeseAuthor Commented:
I call a form that had the text box using a command button. When the form opens with the text box is there as well as the vertical scroll bar but the text box is not at the top. I've made sure that the property ScrollTop of the form set to zero.
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
etech0Commented:
Interesting - I would have to see a sample db to diagnose it...
0
 
Frank FreeseAuthor Commented:
OK...here the worksheet with the form
Book1.xlsm
0
 
Frank FreeseAuthor Commented:
thanks,
you nailed it!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.