

You can change these constants as required. This macro sets line numbers in “Arial” font at 12 pt with blue color. Next double click to open the new module and paste the macro there:.Then click “Normal” project and then “Insert” tab.Firstly, press “Alt+ F11” to trigger VBA editor.Tip 4: Run Word Macro to Change Line Number Style But its color will change to the same as that of the document texts. The font type and size of line numbers stay the same as default. The repeat step 3 and 4 in tip 1 as well.Find and right click on “Normal” style.Use the same shortcut in tip 1 to open “Styles” window.You will then find line number style change as well. Instead, go to modify the “Normal” style. Therefore, if you want to format line numbers to match your document texts, don’t change the document texts with options in the Ribbon. You can view the effect such as bellow: Tip 3: Alter “Normal” Style to Change the Style of Line NumbersĪs mentioned above, line numbers are in default paragraph style. Set the formatting there and click “OK”.

Choose “Modify” to open “Modify Style” box.Find “Line Number” style and right click on it.Press “Alt+ Ctrl+ Shift+ S” to open “Styles” window.There is no direct way to change style of those line numbers. When you change the text style, the one of those line numbers stay intact. Then check “Add line numbering” box and set configurations there.īy default, line numbers take the default paragraph font style.Click “Line Numbers” button to open “Line Numbers” dialog box.Or you can click “Line Numbering Options” to open “Page Setup” dialog box.Choose an option available, such as “Restart Each Page”.Then click “Line Numbers” command to open its drop-down menu.Besides, there are other formatting involving its distance to texts and text direction, which happen to be our topic today. Now line numbers are like any other normal texts and they have a style, based on default paragraph font. Line numbers number each line on your document in order which enable you to have a quick idea of which line you are. In word, you can add line numbers to document. The coming article shall show you 6 handy tips to add line numbers and set their formatting in your Word document.
