I can't find the option to align my text. Could someone (probably Rob) put me out of my misery (here's a little bit of the code that I have). So taking the text "Collaboration Report", how can I centre it?
vb Code:
oWord = CType(CreateObject("Word.Application"), Word.Application) oWord.Visible = False oDoc = oWord.Documents.Add 'Insert a paragraph at the beginning of the Word Doc oPara1 = oDoc.Content.Paragraphs.Add oPara1.Range.Text = "Collaboration Report" 'Want to specify centre alignment here if I can ??? oPara1.Range.Font.Bold = 1 oPara1.Format.SpaceAfter = 6 oPara1.Range.InsertParagraphAfter()




) put me out of my misery (here's a little bit of the code that I have). So taking the text "Collaboration Report", how can I centre it?
Reply With Quote