Thread
: [Solved]
How do I insert a horizontal line at the end of a document?
View Single Post
04-13-2025, 10:37 AM
vivka
Windows 7 64bit
Office 2016
Expert
Join Date: Jul 2023
Posts: 293
Hi! What about this one? This code will insert a line above the doc's last paragraph.
Code:
Selection.EndKey wdStory Selection.InlineShapes.AddHorizontalLineStandard
vivka
View Public Profile
Find all posts by vivka