Results 1 to 8 of 8

Thread: whats the code for enter?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2002
    Posts
    115

    Question whats the code for enter?

    argh this is hard to find

    i keep forgetin


    how do we do enter in vb?

    tab = vbTab
    enter = vb???????????????????????????


    please help me


    tnx alot

  2. #2
    Frenzied Member
    Join Date
    Nov 2001
    Posts
    1,384
    vbKeyReturn
    Mel

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2002
    Posts
    115
    nah thats not it

    vbKeyReturn = 13

    tnx ne way


    i want a carrige return/new line/enter

  4. #4
    Frenzied Member swatty's Avatar
    Join Date
    Aug 2002
    Location
    somewhere on earth
    Posts
    1,478
    vbCrLf
    Code:
    If Question = Incomplete Then
       AnswerNextOne
    Else
       ReplyIfKnown
    End If
    cu Swatty

  5. #5
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    or Chr(10)
    Don't Rate my posts.

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Aug 2002
    Posts
    115
    thanks very much

  7. #7
    Frenzied Member macai's Avatar
    Join Date
    Jul 2001
    Location
    Napanoch NY
    Posts
    1,228
    vbNewLine is another good one
    Luke

  8. #8
    Lively Member
    Join Date
    Jul 1999
    Posts
    99
    Or you can break vbCrLf into:

    VB Code:
    1. vbCr ' Carriage Return
    2.  
    3. vbLf ' Line Feed

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