View Single Post
 
Old 07-15-2019, 03:38 PM
gmaxey gmaxey is offline Windows 10 Office 2016
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,429
gmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the rough
Default

Perhaps something like this:

Code:
Option Explicit
Private m_oFN As Footnote
Sub ScratchMacro()
  For Each m_oFN In ActiveDocument.Footnotes
    m_oFN.Range.Text = "(Note - " & fcnGetFootnoteReferenceIndex & ") " & m_oFN.Range.Text
  Next
lbl_Exit:
  Exit Sub
End Sub

Function fcnGetFootnoteReferenceIndex() As String
  With m_oFN
    With .Reference.Characters.First
      .Collapse
      .InsertCrossReference wdRefTypeFootnote, wdFootnoteNumberFormatted, m_oFN.Index
      fcnGetFootnoteReferenceIndex = .Characters.First.Fields(1).Result
      .Characters.Last.Fields(1).Delete
    End With
  End With
lbl_Exit:
  Exit Function
End Function
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote