Muokkaa

Jaa


Footnotes.StartingNumber property (Word)

Returns or sets the starting note number, line number, or page number. Read/write Long.

Syntax

expression. StartingNumber

expression Required. A variable that represents a 'Footnotes' collection.

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.

Set myDoc = Documents.Add 
With myDoc.Footnotes 
 .StartingNumber = 10 
 .Add Range:=Selection.Range, Text:="Text for a footnote" 
End With

See also

Footnotes Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.