Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. Set oWord_app = CreateObject("Word.Application")
  2. oWord_app.Documents.Add
  3. Set oDoc = oWord_app.Documents(1)
  4.  
  5. 'Micorsoft Def Center:
  6. Dim myParaF As New ParagraphFormat
  7. myParaF.Alignment = wdAlignParagraphCenter
  8. myParaF.Borders.Enable = True
  9. ActiveDocument.Paragraphs(1).Format = myParaF
  10.  
  11. Dim myParaF as new oWord_app.ParagraphFormat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement