'to align your text use this before you load the text

RichTextBox1.SelAlignment = 0 'left
RichTextBox1.SelAlignment = 1 'right
RichTextBox1.SelAlignment = 2 'center