How to manipulate a scroll bar in vb

Posted on 2011-04-28
Last Modified: 2012-05-11
My form contains a textbox which is bound to a memo field, and often cannot display the full length of the memo.

When this occurs, I'd like to automatically scroll down so only the last few lines of the memo are displayed in the textbox (so the user can see and add text to the end of the memo).

Is this possible?  How?  Can the vertical scroll bar and/or the increment arrows at the ends of the scroll bar be manipulated in vba?
Question by:David_W_R
    LVL 119

    Accepted Solution

    try setting the cursor to the end of the text in the textbox


    Author Closing Comment

    That's it.  Thanks for the timely response yet again, capricorn1

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
    Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
    Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
    In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now