Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-11-2019, 10:07 AM
Ramses505 Ramses505 is offline Loop through Footnote Reference Marks Windows 7 64bit Loop through Footnote Reference Marks Office 2010
Novice
Loop through Footnote Reference Marks
 
Join Date: May 2019
Posts: 1
Ramses505 is on a distinguished road
Default Loop through Footnote Reference Marks

I have some code that loops through the actual Footnotes that looks like this;


Code:
Sub Test_Format_Footnote()
Dim f As Footnote

For Each f In ActiveDocument.Footnotes
  With f.Range.Characters(1)
    If .Text = vbTab Or .Text = " " Then 'Use any other sensible detection logic here
      .Text = vbTab
    Else
      .InsertBefore "Look Here !"
    End If
  End With
Next
End Sub

How do I loop through the Footnote Reference Marks; the numbers in the text linking to the actual footnote ?


I would like to change the format of them on several ways - I would also like to know how to just loop through them for future reference.


Thanks
Reply With Quote
 

Tags
ref mark ftnt sec

Thread Tools
Display Modes


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 09:11 AM.


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