Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    May 2002
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Controlling tab order (Excel 97)

    Okay - this is probably a dumb question...

    How do I control the tabbing order on a protected worksheet (so users are filling in information in a logical sequence as opposed to how it happens to be layed out on the worksheet). I just can't seem to find it anywhere - am having a hard time believing this doesn't exist.

  2. #2
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Controlling tab order (Excel 97)

    You can use the Worksheet Selection Change event routine, like this:

    <pre>Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    Application.EnableEvents = False
    Select Case Target.Address
    Case "$B$1"
    ActiveSheet.Range("C1").Select
    Case "$B$2"
    ActiveSheet.Range("C2").Select
    Case Else
    ActiveSheet.Range("A1").Select
    End Select
    Application.EnableEvents = True
    End Sub
    </pre>

    Legare Coleman

Posting Permissions

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