+ Reply to Thread
Results 1 to 2 of 2

Automatically scroll when navigating controls Using TAB key

  1. #1
    Registered User
    Join Date
    10-13-2010
    Location
    Los Angeles, California
    MS-Off Ver
    Excel 2007
    Posts
    4

    Automatically scroll when navigating controls Using TAB key

    Hi All,

    I have several various VBA controls on a sheet that the user may
    navigate to and from by using TAB key ('tabbing' from one control
    to the next by using the KeyDown() Function of the control)

    However once the user tabs to a control that is not visible on the sheet,
    they would have to manually scroll down the page to notice that they
    have tabbed to the next control. That is, excel won't follow (or make visible)
    the control that is currently active.

    Any thoughts on how to automate this (rather than have the user manually scroll) would be greatly appreciated!

    Best
    Last edited by mstasko1990; 10-16-2010 at 09:01 PM. Reason: Updated Title to be more appropriate and marked as 'SOLVED'

  2. #2
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Navigating controls Using TAB key

    Hi mstasko1990;

    You can use the control's "TopLeftCell" property, and Window.scrollrow property to make it visible.
    Foxguy

    Remember to mark your questions [Solved] and rate the answer(s)
    Forum Rules are Here

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1