- Open your Word 2007 document and click the Page Layout tab on the ribbon.
- Click on Line Numbers and then Line Numbering Options. The Page Setup window appears.
- Click Line Numbers.
- Select the Add line numbering option.
- Select your line numbering options such as spacing, sequence, etc.
- Click OK.
Now you have line numbers in the margin of your document.