title: How to align each paragraph specifically by Word Interop?
body: <p>This is my code: </p>
  
  <pre><code>Dim oWord As Word.Application
  Dim oDoc As Word.Document
  Dim oTable As Word.Table
  Dim oPara1 As Word.Paragraph, oPara2 As Word.Paragraph
  Dim oPara3 As Word.Paragraph, oPara4 As Word.Paragraph
  Dim oRng As Word.Range
  
  oWord = CreateObject("Word.Application")
  oWord.Visible = True
  oDoc = oWord.Documents.Add
  
  oPara1 = oDoc.Content.Paragraphs.Add
  oPara1.Range.InlineShapes.AddPicture(sNewData.Picture)
  oPara1.Format.SpaceAfter = 24
  oPara1.Range.InsertParagraphAfter()
  
  oPara2 = oDoc.Content.Paragraphs.Add
  oPara2.Range.Text = nTP.Nama
  oPara2.Range.ParagraphFormat.Alignment = Word.WdParagraphAlignment.wdAlignParagraphCenter
  
  oPara2.Range.Font.Bold = True
  oPara2.Range.Font.Size = 18
  oPara2.Range.Font.Color = Word.WdColor.wdColorBlue
  oPara2.Format.SpaceAfter = 6
  oPara2.Range.InsertParagraphAfter()
  
  oPara3 = oDoc.Content.Paragraphs.Add
  oPara3.Range.ParagraphFormat.Alignment = Word.WdParagraphAlignment.wdAlignParagraphLeft
  oPara3.Range.Text = "Special arrangement for Mr/Mrs. " &amp; customer
  oPara3.Range.Font.Color = Word.WdColor.wdColorOliveGreen
  oPara3.Format.SpaceAfter = 3
  oPara3.Range.InsertParagraphAfter()
  </code></pre>
  
  <p>The strange thing is the <strong><code>oPara1</code></strong> is aligned at <em>left</em>, while <strong><code>oPara2</code></strong> is aligned at <em>center</em>. But the <strong><code>oPara3</code></strong> is not aligned at <em>left</em>.<br>
  The output is that <strong><code>oPara3</code></strong> is following the previous alignment which is <em>center</em>.
  So how could I apply for a specific paragraph its own alignment or style?<br>
  I found some discussion about "<code>Style</code>" but I confused.</p>