Formatting Paragraphs


Selection.ParagraphFormat.LeftIndent = InchesToPoints(4) 
Selection.ParagraphFormat.RightIndent = InchesToPoints(4)

Selection.ParagraphFormat.LineSpacingRule = wdLineSpacing.wdLineSpaceExactly 
Selection.ParagraphFormat.LineSpacing = 20

Selection.ParagraphFormat.KeepTogether = True | False 
Selection.ParagraphFormat.KeepWithNext = True | False
Selection.ParagraphFormat.WidowControl = True | False

Selection.ParagraphFormat.SpaceAfter = 10 
Selection.ParagraphFormat.SpaceBefore = 20

objParagraph.LeftAlign = 20 

Paragraphs(1).Alignment = wdParagraphAlignment.wdAlignParagraphRight 


© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext