View Single Post
 
Old 05-13-2014, 02:05 AM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Try:
Code:
Sub foot2inline()
Dim i As Long
Dim Rng As Range
Dim NtRng As Range
Dim FtNtRef As String
With ActiveDocument
  For i = .Footnotes.Count To 1 Step -1
    With .Footnotes(i)
      Set Rng = .Reference
      Set NtRng = .Reference
      FtNtRef = .Reference.FormattedText
      Rng.Collapse wdCollapseStart
      Rng.FormattedText = .Range.FormattedText
      With Rng
        .InsertAfter "]"
        .InsertBefore " "
        .Collapse wdCollapseStart
        .InsertCrossReference wdRefTypeFootnote, wdFootnoteNumberFormatted, i
        .InsertBefore "["
        .Start = .Start - 1
        .End = NtRng.End
        .Fields(1).Unlink
        .Font.Color = 6299648
      End With
      .Delete
    End With
  Next
End With
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote