![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
hey,
I have several word documents. As the standard of the format is changed, I have to convert all the footnotes to end notes in them. I know I can select “Convert all footnotes to endnotes” option in one word document to change it. But using this way, I have to do that one by one . Is there any quickly way to batch convert all footnotes to endnotes in multiple word files? Thanks! |
#2
|
|||
|
|||
![]()
hello,
It seems there is no such fuction which can do that directly in Word. As a workaround, try to use VBA code. See below. Sub BatchConvertFootnotesToEndnotes() Dim objWordApplication As New Word.Application Dim strFile As String Dim strFolder As String strFolder = InputBox("Enter the folder address", "Folder Address", "For example:E:\test word\test\") strFile = Dir(strFolder & "*.doc*", vbNormal) While strFile "" With objWordApplication .Documents.Open (strFolder & strFile) .ActiveDocument.Footnotes.Convert .ActiveDocument.Close End With strFile = Dir() Wend Set objWordApplication = Nothing End Sub And I also attach the article which I find this macro, hope it helps. https://www.datanumen.com/blogs/6-wa...word-document/ Last edited by Fanni : May 22nd, 2017 at 10:29 AM. |
#3
|
|||
|
|||
![]() Quote:
Last edited by Kleve : November 10th, 2021 at 01:37 PM. |
#4
|
|||
|
|||
![]()
terima kasih
|
Thread Tools | |
Display Modes | |
|
|