Microsoft Office Microsoft Word Format Paragraphs in Microsoft Word
' Format Paragraphs in Microsoft Word
Const CENTERED = 1
Set objWord = CreateObject("Word.Application") objWord.Visible = True Set objDoc = objWord.Documents.Add() Set objSelection = objWord.Selection
objSelection.ParagraphFormat.Alignment = CENTERED objSelection.ParagraphFormat.LineSpacing = 36
objSelection.Font.Name = "Arial" objSelection.Font.Size = "18" objSelection.TypeText "Here is some text typed in. " objSelection.TypeText "Here is some more text typed in. " objSelection.TypeText "Here is even more text typed in. " objSelection.TypeText "This is the last of the text."
|
VbsEdit includes all these samples!
Download Now!
Version 5.4.1 - This package includes VbsEdit 32-bit, VbsEdit 64-bit, HtaEdit 32-bit and HtaEdit 64-bit. The evaluation version never expires.
Home
Buy Now
HtaEdit
Support
Video
What's new ?
|