Results 1 to 2 of 2

Thread: Enter Key on Text Box

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2011
    Posts
    688

    Enter Key on Text Box

    Hi

    I want that instead of Tab Keys , enter key should behave like Tab Key

    Thanks

  2. #2
    PowerPoster
    Join Date
    Aug 2011
    Location
    B.C., Canada
    Posts
    2,887

    Re: Enter Key on Text Box

    Try this for a start

    Code:
    Private Sub Text1_KeyPress(KeyAscii As Integer)
    If KeyAscii = vbKeyReturn Then KeyAscii = vbKeyTab
    End Sub
    Edit:
    Sorry read your other post and realized you need it to do that same task... here you go

Posting Permissions

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



Click Here to Expand Forum to Full Width