Results 1 to 5 of 5
  1. #1
    alemg99 is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2016
    Posts
    2

    Question How do I wrap text in label


    I am creating a form, and need to "wrap text" on some labels. Can grow is not what I am looking for, but something that allows me to have multiple lines.

    Click image for larger version. 

Name:	Capture.JPG 
Views:	20 
Size:	17.7 KB 
ID:	26378

  2. #2
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2013 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    <Ctrl>Enter starts a new line

  3. #3
    alemg99 is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2016
    Posts
    2
    I need it to be auto formated as I have 150+ observations on my table. Any ideas?

  4. #4
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2013 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    What does "auto formatted" mean? Why are you using a label control, wouldn't a ListBox work better for you?

  5. #5
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,740
    IF you are appending observations into one long string as the label caption, do this:
    Code:
    dim sLabelString as string
    sLabelString = obs1 & vbcrlf _
    & obs2 & vbcrlf _
    & obs3 & vbcrlf _
    .
    .
    & obs9 & vbcrlf
    mylabel.caption = sLabelString
    The vbcrlf will cause a new line.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Wrap Text in report
    By waqas in forum Reports
    Replies: 1
    Last Post: 06-27-2012, 09:31 AM
  2. Wrap text conditionally
    By devcon in forum Reports
    Replies: 6
    Last Post: 06-12-2012, 12:32 AM
  3. How to wrap text in a pivot table?
    By mcgill55 in forum Access
    Replies: 1
    Last Post: 04-13-2011, 10:28 AM
  4. Can you wrap text in a Combo Box ?
    By softspoken in forum Forms
    Replies: 5
    Last Post: 03-21-2010, 05:32 AM
  5. wrap text
    By kamolrat in forum Reports
    Replies: 1
    Last Post: 11-17-2009, 01:36 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums