#1
|
|||
|
|||
Modify recorded macro to run until end of document
Editing a Word document that contains multiple footnotes that are not numbered seriatim and I want to change them so they are. Here is a macro I have recorded that enables me to replace the existing footnotes one at a time. How do I modify this to replace all the footnotes in the existing document?
Selection.Find.ClearFormatting With Selection.Find.Font .Superscript = True .Subscript = False End With With Selection.Find .Text = "" .Replacement.Text = "~" .Forward = True .Wrap = wdFindAsk .Format = True .MatchCase = False .MatchWholeWord = False .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False End With Selection.Find.Execute With Selection With .FootnoteOptions .Location = wdBottomOfPage .NumberingRule = wdRestartContinuous .StartingNumber = 1 .NumberStyle = wdNoteNumberStyleArabic .LayoutColumns = 0 End With .Footnotes.Add Range:=Selection.Range, Reference:="" End With End Sub |
#2
|
||||
|
||||
Please don't post the same question in multiple threads.
Thread closed. You may continue the discussion in your other thread.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Embedded Video Not Playing in Recorded Presentation | bhadden1 | PowerPoint | 0 | 08-16-2017 03:07 PM |
Add previously recorded sound and synchronize with slide annimations | daniellouw | PowerPoint | 1 | 03-03-2017 11:14 AM |
how modify a macro code | tarikov2006 | Excel Programming | 1 | 11-18-2016 04:10 AM |
how can I modify this macro to work on another column besides "A" | zhead | Excel Programming | 5 | 10-06-2015 05:04 PM |
Can I record more to add on to a recorded Macro? | Clueless in Seattle | Word VBA | 3 | 05-25-2015 01:21 AM |