Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Set oWord_app = CreateObject("Word.Application")
- oWord_app.Documents.Add
- Set oDoc = oWord_app.Documents(1)
- 'Micorsoft Def Center:
- Dim myParaF As New ParagraphFormat
- myParaF.Alignment = wdAlignParagraphCenter
- myParaF.Borders.Enable = True
- ActiveDocument.Paragraphs(1).Format = myParaF
- Dim myParaF as new oWord_app.ParagraphFormat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement