View Single Post
 
Old 09-19-2023, 07:40 AM
RobiNew RobiNew is offline Windows 10 Office 2016
Competent Performer
 
Join Date: Sep 2023
Posts: 200
RobiNew is on a distinguished road
Question

This code works perfectly for reference marks in the main document, but leaves all reference marks untouched in the footnote section. Can anyone help? Thanks a lot!

Code:
Sub FootnoteMark()
'Format Reference Mark in Main Document and Footnote Section
Dim oStory As Range
Dim FtNt As Footnote
For Each oStory In ActiveDocument.StoryRanges
For Each FtNt In ActiveDocument.Footnotes
      With FtNt.Reference.Font
        .Superscript = True
        .Position = 0
      End With
Next
Next oStory
Set oStory = Nothing
End Sub

Last edited by RobiNew; 09-19-2023 at 07:48 AM. Reason: formatting
Reply With Quote