Endnotes.StartingNumber Property
Word Developer Reference |
Returns or sets the starting note number, line number, or page number. Read/write Long.
Syntax
expression.StartingNumber
expression An expression that represents a Endnotes object.
Remarks
You must be in print layout view to see line numbering.
When applied to page numbers, this property returns or sets the beginning page number for the specified HeaderFooter object. This number may or may not be visible on the first page, depending on the setting of the ShowFirstPageNumber property. The RestartNumberingAtSection property, if set to False, will override the StartingNumber property so that page numbering can continue from the previous section.
Example
This example creates a new document, sets the starting number for footnotes to 10, and then adds a footnote at the insertion point.
Visual Basic for Applications |
---|
|
This example enables line numbering for the active document. The starting number is set to 5, every fifth line number is shown, and the numbering starts over at the beginning of each section in the document.
Visual Basic for Applications |
---|
|
This example sets properties for page numbers, and then it adds page numbers to the header of the active document.
Visual Basic for Applications |
---|
|
See Also