FootnoteOptions object (Word)
Represents the properties assigned to a range or selection of footnotes in a document.
Remarks
Use the Range or Selection object to return a FootnoteOptions object. Using the FootnoteOptions object, you can assign different footnote properties to different areas of a document. For example, you may want footnotes in the introduction of a long document to be displayed as lowercase letters, while in the rest of your document they are displayed as asterisks. The following example uses the NumberingRule, NumberStyle, and StartingNumber properties to format the footnotes in the first section of the active document.
Sub BookIntro()
Dim rngIntro As Range
'Sets the range as section one of the active document
Set rngIntro = ActiveDocument.Sections(1).Range
'Formats the EndnoteOptions properties
With rngIntro.FootnoteOptions
.NumberingRule = wdRestartPage
.NumberStyle = wdNoteNumberStyleLowercaseLetter
.StartingNumber = 1
End With
End Sub
See also
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.
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro