none
Multiple centered lines of text in a label or text box RRS feed

Answers

  • For a Label

    Set the Text Align property to Center and then when entering your caption use CTRL+Enter to start a new line.

    For a Text Box

    Set the Text Align property to Center and then when entering your Control Source you'd enter Chr(13) & Chr(10) to start a new line.  So you'd get something along the lines of

    ="Line 1" & Chr(13) & Chr(10) & "Line 2"

    If you mean when the user is entering content into a Text Box then set the Enter Key Behavior property to New Line in Field, that way the user can simply use the Enter key like they normally would in any text editor.


    Daniel Pineault, 2010-2018 Microsoft MVP
    Professional Support: http://www.cardaconsultants.com
    MS Access Tips and Code Samples: http://www.devhut.net

    • Marked as answer by Steve Staab Monday, December 31, 2018 8:13 PM
    Monday, December 31, 2018 6:48 PM