InlineShapes.AddHorizontalLine (Word)
Adds a horizontal line based on an image file to the current document.
To add a horizontal line that isn't based on an existing image file, use the AddHorizontalLineStandard method.
AddHorizontalLine (FileName, Range)
Selection.InlineShapes.AddHorizontalLine _
"C:\Art files\ArtsyRule.gif"
Arguments
The following argument is required
FileName (String) - The file name of the image you want to use for the horizontal line.
Optional arguments
The following argument is optional
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.