locked
how to justified text in report ms access RRS feed

  • Question

  • hi guys..

    how can i justified text in report in ms access

    i maked example in ms word

    Saturday, January 5, 2019 6:04 AM

All replies

  • Set the Text Align property of the text box on the report to Distribute.

    Warning: there is a bug in this setting - the last line of the text box will be justified too.


    Regards, Hans Vogelaar (http://www.eileenslounge.com)

    Saturday, January 5, 2019 9:42 AM
  • Is there another way? VBA codes for example
    Tuesday, January 8, 2019 5:27 AM
  • It will essentially be the same thing, setting the TextAlign property of the Textbox, so it make a lot more sense to do so once and save the setting directly in your report design rather than to do it in VBA.

    Me.YourControlName.TextAlign = 4


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


    Tuesday, January 8, 2019 9:01 AM