+ Reply to Thread
Results 1 to 4 of 4

Jump to next line in box...

  1. #1
    thomas
    Guest

    Jump to next line in box...

    I have a database of people, that when you search for one, it finds the
    person and displays the info. I wish to be able to add a "return" (next line)
    for each note in the note text box. How do I do this?


    Ex.

    CustInfo.Notes = Worksheets("CustomerDatabase").Cells(RefCountx, 30) &
    NEXTLINE??? & Worksheets("CustomerDatabase").Cells(RefCountx, 31)

    thanks Ahead of time,
    Thomas

  2. #2
    Harald Staff
    Guest

    Re: Jump to next line in box...

    Hi Thomas

    Try
    VbNewLine

    HTH. Best wishes Harald

    "thomas" <thomas@discussions.microsoft.com> skrev i melding
    news:14A1F04D-CC28-4380-9D6C-389453F048D3@microsoft.com...
    > I have a database of people, that when you search for one, it finds the
    > person and displays the info. I wish to be able to add a "return" (next

    line)
    > for each note in the note text box. How do I do this?
    >
    >
    > Ex.
    >
    > CustInfo.Notes = Worksheets("CustomerDatabase").Cells(RefCountx, 30) &
    > NEXTLINE??? & Worksheets("CustomerDatabase").Cells(RefCountx, 31)
    >
    > thanks Ahead of time,
    > Thomas




  3. #3
    Tom Ogilvy
    Guest

    Re: Jump to next line in box...

    chr(10)


    CustInfo.Notes = Worksheets("CustomerDatabase").Cells(RefCountx, 30) & _
    chr(10) & Worksheets("CustomerDatabase").Cells(RefCountx, 31)

    --
    Regards,
    Tom Ogilvy


    "thomas" <thomas@discussions.microsoft.com> wrote in message
    news:14A1F04D-CC28-4380-9D6C-389453F048D3@microsoft.com...
    > I have a database of people, that when you search for one, it finds the
    > person and displays the info. I wish to be able to add a "return" (next

    line)
    > for each note in the note text box. How do I do this?
    >
    >
    > Ex.
    >
    > CustInfo.Notes = Worksheets("CustomerDatabase").Cells(RefCountx, 30) &
    > NEXTLINE??? & Worksheets("CustomerDatabase").Cells(RefCountx, 31)
    >
    > thanks Ahead of time,
    > Thomas




  4. #4
    thomas
    Guest

    Re: Jump to next line in box...

    Your cool! Still learning the in's and out's of VB

    -thomas

    "Harald Staff" wrote:

    > Hi Thomas
    >
    > Try
    > VbNewLine
    >
    > HTH. Best wishes Harald
    >
    > "thomas" <thomas@discussions.microsoft.com> skrev i melding
    > news:14A1F04D-CC28-4380-9D6C-389453F048D3@microsoft.com...
    > > I have a database of people, that when you search for one, it finds the
    > > person and displays the info. I wish to be able to add a "return" (next

    > line)
    > > for each note in the note text box. How do I do this?
    > >
    > >
    > > Ex.
    > >
    > > CustInfo.Notes = Worksheets("CustomerDatabase").Cells(RefCountx, 30) &
    > > NEXTLINE??? & Worksheets("CustomerDatabase").Cells(RefCountx, 31)
    > >
    > > thanks Ahead of time,
    > > Thomas

    >
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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