Insert Horizontal Line

Description : Inserts a horizontal line


Insert Horizontal Line

You need Onetastic Add-in
for OneNote to run this macro.
Download Onetastic
Author(s) : Omer Atay
Category : Horizontal Line
Last Updated : February 19, 2018
Requirements : OneNote 2010 or above
Screenshot :

Insert Horizontal Line

No screenshot available for this macro.
Changelog :

February 19, 2018 (5AE2FF) - Omer Atay
Resize the outline only if it is too small for the horizontal line

August 17, 2017 (989741) - Omer Atay
Updated to insert a new line after the horizontal line and put the insertion point there so that user can start typing

June 20, 2016 (C7B91A) - Omer Atay
Re-written with the new Macro Language to take advantage of cleaner syntax and performance improvements

These versions are no longer supported:

March 10, 2013 - Omer Atay
Initial version


DanW - 2017-10-23
@KVN same here. Please let me know if you find a solution.
KVN - 2017-09-30
It would be nice if the line length could be entered as a parameter. In my case, I would like to set it to be 7.5 inches. I typed 75 (monospaced) Courier 12 characters under the line and so it looks to be 7.5 inches.

I wanted a 7.5 inch line to gauge my note taking to fit onto a legal page size.

Ideally (this might not be the correct forum) - I would like a macro that put an 8.5" X 11" rectangle on the OneNote screen so that when I printed a PDF of the page, it would fit into a one PDF page. I don't want to get involved with messing with margins. That limits input countryside I get to work with. Instead, I would like to be able to input multiple 8.5" X 11" rectangles as I need them.
JMac - 2017-09-19
Downloaded on 2017-09-18 and tried it in OneNote 2013 running on Windows 10. The cursor stayed at the end of the inserted horizontal line so I had to hit the enter key to start typing below the inserted line.