views:

85

answers:

1

I have a Word document which is several hundred pages long.

I would like to use a macro to automatically create about a dozen or so sub-documents based on certain rules (mainly, occurrence of certain strings in each Section).

Is this possible? What VBA functions should I read-up on? Does anybody know of any code examples which are even remotely similar and which I may be able to customize for my purposes?

Thanks

+6  A: 

This KB article should be able to get you started: How to programmatically save each page or section of a document as a separate file.

Otaku