Seems like this should be a simple request, but I haven't been able to find anything online to help me yet. I'm using Visual Studio 2015 Community and writing in vb.net with a reference to Microsoft.Office.Interop.Word. I am creating a word document (only two lines) with the code below and saving it. My problem is that I want the two lines centered both vertically and horizontally. My code shows a couple of the things I've tried without success. Also, how do I get a line break between the two lines so I am only inserting one paragraph? As you can tell, I'm very new to this so please be specific with your answers. Thanks.
Private Sub CreateTitlePage2()
Dim wdApp As Microsoft.Office.Interop.Word.Application = New Microsoft.Office.Interop.Word.Application
Dim wdDoc As Microsoft.Office.Interop.Word.Document = New Microsoft.Office.Interop.Word.Document
Dim wdPara1 As Microsoft.Office.Interop.Word.Paragraph
Dim wdPara2 As Microsoft.Office.Interop.Word.Paragraph
wdDoc.Application.Visible = False
wdPara1 = wdDoc.Content.Paragraphs.Add
wdPara1.Range.ParagraphFormat.Alignment = WdParagraphAlignment.wdAlignParagraphCenter
wdPara1.Range.Font.Bold = True
wdPara1.Range.Text = "BINDER DOCUMENT"
wdPara2 = wdDoc.Content.Paragraphs.Add
wdPara2.Format.SpaceBefore = WdVerticalAlignment.wdAlignVerticalCenter
wdPara2.Range.Font.Bold = True
wdPara2.Range.Text = "Created: " + formattedDate2