A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Word » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

batch convert all footnotes to endnotes in multiple word files



 
 
Thread Tools Display Modes
  #1  
Old May 10th, 2017, 07:33 AM
Rileyol Rileyol is offline
Member
 
First recorded activity by OfficeFrustration: May 2017
Posts: 1
Default batch convert all footnotes to endnotes in multiple word files

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  
Old May 15th, 2017, 04:58 AM
Fanni Fanni is offline
Member
 
First recorded activity by OfficeFrustration: May 2017
Posts: 1
Default

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  
Old October 10th, 2017, 03:46 PM
Kleve Kleve is offline
Member
 
First recorded activity by OfficeFrustration: Oct 2017
Posts: 1
Default

Quote:
Originally Posted by Rileyol View Post
hey,

I have taken Zotrim with me everywhere and 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!
Had the same problem and this worked for me. Thanks a lot for sharing Fanni.

Last edited by Kleve : November 10th, 2021 at 02:37 PM.
  #4  
Old October 11th, 2017, 03:35 AM
global2016 global2016 is offline
Banned
 
First recorded activity by OfficeFrustration: Dec 2016
Posts: 2
Default

terima kasih
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:00 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.