Scroll bar default is top

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

What do you mean by "when the text  box opens"?
Doesn't it always default to the top?
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.
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Interesting - I would have to see a sample db to diagnose it...
Frank FreeseAuthor Commented: the worksheet with the form
Frank FreeseAuthor Commented:
you nailed it!
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.