Hello,
I am generating a word document from an Access Database, which formats the document and fills in text depending on items in the database.
I need to be able to right justify some of the text in this document.
I am aware that you can set fonts in the following way:
set docApp = CreateObject("Word.Application")
set docDoc = docApp.Documents.Add
docapp.selection.Font.Name = "Times New Roman"
docapp.selection.Font.Size = 12
Is it possible to set text to be left/right/centre/justified in a similar way?
Thanks in advance for any help, as cannot find anything on this on the web, and is driving me nuts.
-Tim
I am generating a word document from an Access Database, which formats the document and fills in text depending on items in the database.
I need to be able to right justify some of the text in this document.
I am aware that you can set fonts in the following way:
set docApp = CreateObject("Word.Application")
set docDoc = docApp.Documents.Add
docapp.selection.Font.Name = "Times New Roman"
docapp.selection.Font.Size = 12
Is it possible to set text to be left/right/centre/justified in a similar way?
Thanks in advance for any help, as cannot find anything on this on the web, and is driving me nuts.
-Tim