Consulting

Results 1 to 5 of 5

Thread: Line break within a cell

  1. #1
    VBAX Tutor joelle's Avatar
    Joined
    Apr 2005
    Location
    Sunnyvale, CA
    Posts
    204
    Location

    Line break within a cell

    Just quick question:
    If you have lots of texts within one cell, how do you insert a line break between the text without having to insert spaces until the text flows to another line when displayed. Pls see my quick drawing:

    --------------------------------------------
    ' djfljjdfasdasdfsafsafjfdlsfj.[line brk] '
    ' Moretextsdlfjldjfldjfldsjfldsjfldsjfld '
    ' dl;fjldjfldsjfldsjflkasdjfjsdljflksdjfl '
    ' dl;fjldjfldsjfldsjflkasdjfjsdljflksdj
    '
    ' dl;fjldjfldsjfldsjflkasdjfjs. '
    --------------------------------------------


    Thanks a lot.
    Nee

  2. #2
    VBAX Tutor joelle's Avatar
    Joined
    Apr 2005
    Location
    Sunnyvale, CA
    Posts
    204
    Location
    ALT+ENTER it is, but I do not know how
    to mark this resolved?

    Nee

  3. #3
    VBAX Master Killian's Avatar
    Joined
    Nov 2004
    Location
    London
    Posts
    1,132
    Location
    Hiya

    I deleted your cross post in the Access forum - thanx for the tip off

    So to your question... is there any reason you can't just turn text wrapping on for the cells concerned (Format > Cells > Alignment tab > check Wrap Text) or use
    targetrange.WrapText = True
    K :-)

  4. #4
    VBAX Tutor
    Joined
    Mar 2005
    Posts
    268
    Location
    Look on Thread Tools on the green menu bar just above the first post.

  5. #5
    VBAX Master Killian's Avatar
    Joined
    Nov 2004
    Location
    London
    Posts
    1,132
    Location
    Ok... cool... go to the thread tools at the top of the first post
    K :-)

Posting Permissions

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