View Single Post
 
Old 07-17-2016, 04:55 PM
formulaic formulaic is offline Mac OS X Office for Mac 2011
Novice
 
Join Date: Jul 2016
Posts: 2
formulaic is on a distinguished road
Default Word Comments to Endnotes Conversion problem

Hi,

I used the below VBA macro I found on a forum to convert 700 comments in a word document into endnotes. This worked perfectly until I uploaded the word document to Amazon Kindle where it will be an ebook. In Word the endnote numbering system, restarting from 1 after each section break between chapters works perfectly. But when the document becomes a .mobi file for Kindle it lists the endnotes straight through from 1 to 700. This is a big problem as the superscript endnote reference numbers then become very obtrusive.

Does anyone know what I can do to rectify this? I'm guessing that the VBA macro I used makes the Word document look perfect but screws up the conversion process to .mobi for e-readers. I've tried every formatting solution I can think of, but I'm guessing what I need to do is somehow take the macro out of the Word document but leave what it did intact. But this is beyond my ability.

I've been researching and writing this book for 3 years and this is the final problem I need to solve in order to publish it, so much thanks in advance for any help.

Best,
Ben
___________________________

Sub comment2footnote()
Application.ScreenUpdating = False
Dim oDoc As Document, oComment As Comment
Set oDoc = ActiveDocument
For Each oComment In ActiveDocument.Comments
oDoc.Footnotes.Add Range:=oComment.Scope, Text:=oComment.Range.Text
oComment.Delete
Next
Application.ScreenUpdating = True
End Sub

I got it from here http://superuser.com/questions/16065...nt-to-footnote
Reply With Quote