View Single Post
 
Old 06-29-2011, 04:41 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,527
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi flds,
Quote:
Appendix A, Appendix B, Appendix C etc. are separate in a line, following lines contain the text.
OK, but does the first appendix Section begin with the word 'Appendix', or is there something else on the page before that (eg an empty paragraph or some other text)? The code I've provided is, as I've said before, predicated on the the first word in the first appendix Section being the word 'Appendix' (in any upper/lower case form).

The code in your last post seems intended to produce a document with a list of headings. Is that substantively different to what you'd get by simply exporting the Table of Contents as plain text to another document? How much of the source document should be included? If it's run before the Table of Contents is deleted and any of the sub-documents are created, you'll something based on the entire source document, but if it's run afterwards, you'll only get what's in the 'text' document. In between, you could get something that, say, excludes any headings on the Title page and in the Revision History.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote