troubleshooting Question

How do I make a form textbox with a vertical scroll bar, scroll to the end.

Avatar of Jeffrey Davidson
Jeffrey Davidson asked on
* MS Access VBA EventsMicrosoft Access
4 Comments1 Solution16 ViewsLast Modified:
Using Access 2016 I have a form with a textbox control on it. I set it to have a vertical scroll bar. I've tried several suggestions, from adding code in the got focus event to making a function to reposition the textbox text position. Nothing has worked, I decided to let the experts here try to resolve this.

This snippet didn't work, it doesn't throw an error but it also doesn't reposition the text's position on the screen.
Private Sub txtAdditionalTaskInfo_GotFocus()
    txtAdditionalTaskInfo.SelStart = txtAdditionalTaskInfo.Text.Length + 1
End Sub

Open in new window

ASKER CERTIFIED SOLUTION
Éric Moreau
Senior .Net Consultant
Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros