View Single Post
 
Old 04-12-2011, 12:49 AM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,371
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

Hi Carnegie,

This is beginning to sound like someone's given up on the auto numbering and has used their own numbering instead. Either that or they've just added more paragraphs to an existing footnote, with 'footnote' numbers preceding those paragraphs and corresponding 'footnote' numbers in the body of the document.

Assuming it's the former, you should be able to fix the numbering with the following macro:
Code:
Sub FootnoteFix()
Dim i As Long, FtNtPos As Range
Application.ScreenUpdating = False
With ActiveDocument
  With .Range.FootnoteOptions
    .Location = wdBottomOfPage
    .NumberingRule = wdRestartContinuous
    .StartingNumber = 1
    .NumberStyle = wdNoteNumberStyleArabic
  End With
  For i = .Footnotes.Count To 1 Step -1
    Set FtNtPos = .Footnotes(i).Reference
    FtNtPos.Collapse (wdCollapseEnd)
    .Footnotes.Add Range:=FtNtPos
    FtNtPos.End = FtNtPos.End + 1
    FtNtPos.Footnotes(1).Range = .Footnotes(i).Range
    .Footnotes(i).Reference.Delete
  Next
End With
Application.ScreenUpdating = True
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote