' 'ADDIN ' in front of 'TOC', then regenerating the field result In that case, I suggest we modify the original TOC field, perhaps by putting ' After running it, hiding the original ToC may cause problems when generating for ' that references a specific bookmark in the document ' Each page number should be created using a field ' There also need to be a couple of empty paragraphs after the ToC ' make sure that the ToC generates page numbers, and generate the ToC ' Copy a ToC with page numbers and convert it into a numberless I lastĪttempted Kindle book generation a couple of years ago, so will have to leave you to check that part. Youalso need a couple of blank paragraphs after the ToC. It assumes that you have a TOC field that generates a page number, and that the separator between the ToC entry text and the page number is a single character (I've actually assumed it's a tab). I can put in a bit more effort if you identify any easily Probably worth a try, but not putting too much effort in if it doesn't function properly.
I thought I'd at least have a lok at a VBA macro, and making a few assumptions, came up witht he following.