Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 09-19-2023, 07:40 AM
RobiNew RobiNew is offline Loop through Footnote Reference Marks Windows 10 Loop through Footnote Reference Marks Office 2016
Competent Performer
 
Join Date: Sep 2023
Posts: 231
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
 

Tags
ref mark ftnt sec



Similar Threads
Thread Thread Starter Forum Replies Last Post
Loop through Footnote Reference Marks Removing line break and indentation between footnote number and footnote text in Word jaanross Word 5 02-06-2020 12:04 AM
Loop through Footnote Reference Marks Footnote reference numbers precede by superscript '(' and follow w/ superscript ')' Swarup Word 4 07-18-2019 05:51 PM
Loop through Footnote Reference Marks How do I fix this unknown problem? Right-angle marks in corners - crop marks Quillo1234 Word 2 07-20-2016 02:24 AM
Loop through Footnote Reference Marks How to keep the footnote(endnote) reference numbers when pasting text between two documents? gn4619 Word 4 10-22-2015 08:01 AM
Get footnote reference GLENCOE Word VBA 1 04-07-2015 04:08 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:35 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft