PDA

View Full Version : Saving Pages of a Document



rioch
11-07-2006, 02:22 AM
I have a document that generates via macros 14 pages. Out of these pages, I would like to save pages 1-3 and pages 7-10 to two separate documents. Is it possible to save pages of a document to a separate file in this manner?

fumei
11-07-2006, 10:26 AM
Not sure what "in this manner" actually means.

However, the answer to whether it is possible to save those pages into separate files, is yes - it is possible.

rioch
11-07-2006, 10:33 AM
So I can save pages in a word document to separate files using vba? How do I do this?

fumei
11-07-2006, 03:41 PM
Yes, you can save whatever part(s) of a document you want, to separate files using VBA.

It is important to know that Word has no idea what a page really is. There is no "page", really, in Word. But can you extract a defined chunk out of a document into a file? Sure you can.

What have you tried?