InlineShapes.AddHorizontalLineStandard (Word)

Adds a horizontal line to the current document.

To add a horizontal line based on an existing image file, use the AddHorizontalLine method.

AddHorizontalLineStandard (Range)

Range: The range above which Microsoft Word places the horizontal line. If this argument is omitted, Word places the horizontal line above the current selection.


ActiveDocument.Paragraphs(5).Range _ 
 .InlineShapes.AddHorizontalLineStandard