Microsoft Word - Paragraph symbol in header - Asked By June G on 18-Feb-12 10:54 AM

When I use VBA to set a range equal to the document header, a paragraph symbol appears in the header, affecting the vertical alignment of the page. If I manually enter the header and exit again, without even doing anything in the header, the symbol disappears. How can I prevent the symbol or clear it programmatically?
D Company replied to June G on 18-Feb-12 12:37 PM
it seems due to alignment it happens, give a try to this.

Selection.ParagraphFormat.Alignment = wdAlignParagraphLeft

Selection.ParagraphFormat.KeepTogether = True


it will work now.
Hope it helps!!