Getting the headings from a Word document

后端 未结 7 1191
挽巷
挽巷 2020-11-30 04:11

How do I get a list of all the headings in a word document by using VBA?

7条回答
  •  旧巷少年郎
    2020-11-30 04:46

    You can also create a Table of Contents in the doc and copy that. This separates out the para ref from the title, which is handy if you need to present that in another context. If you do not want the ToC in your doc, just delete that after the Copy n Paste. JK.

提交回复
热议问题