View Single Post
 
Old 04-26-2015, 05:24 PM
gn4619 gn4619 is offline Windows 7 64bit Office 2010 32bit
Novice
 
Join Date: Apr 2015
Posts: 25
gn4619 is on a distinguished road
Default How to create a special TOC in word document?

have a large number of Word documents, and need to divide each document into parts. What I am doing is to manually insert into the text the part splitting phrases, such as:
Part_1

Text goes here...
Part_2
Text goes here...
Part_3
Text goes here...
I want to automate with VBA the task to create a TOC of all these splitting phrases at the beginning of the Word document. Perhaps applying a unique style to these splitters, and then create a TOC for this special style only? I appreciate it very much if anyone can help.
Reply With Quote