Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-26-2019, 09:00 AM
Brainiac Brainiac is offline Converting certain footnotes to endnotes Windows 7 64bit Converting certain footnotes to endnotes Office 2016
Novice
Converting certain footnotes to endnotes
 
Join Date: Jun 2019
Posts: 3
Brainiac is on a distinguished road
Default Converting certain footnotes to endnotes


Hello people,

i would like to convert thousands of footnotes, that have certain properties to endnotes.

code that does not work correctly:

Code:
Sub ConvertFootnotesEndnotes02()
Dim CertainFN As Footnote
    For Each CertainFN In ActiveDocument.Footnotes
    Selection.Find.Style = ActiveDocument.Styles("Endnote")
    With Selection.Find
    .Text = "$$$" 
    .Replacement.Text = "§§§"
             CertainFN.Range.Footnotes.Convert
    End With
           Next CertainFN
lbl_Exit:
    Exit Sub
 End Sub
this humble attempt fails, it converts every footnote to endnotes


would someone please help me?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting certain footnotes to endnotes Footnotes / Endnotes? | See attachment modene1 Word 2 05-17-2017 02:53 AM
Changing footnotes to endnotes Sarah Word 3 04-27-2017 08:55 PM
Converting certain footnotes to endnotes How to display the full citation in footnotes/endnotes chakyt22 Word 1 09-29-2015 03:37 AM
Converting certain footnotes to endnotes Converting hard-entered endnotes to footnotes? New Daddy Word VBA 1 10-21-2012 02:51 PM
Converting certain footnotes to endnotes Endnotes within Footnotes? elias Word 12 09-04-2012 04:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:20 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