Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Chase Chase is offline
external usenet poster
 
Posts: 1
Default Save pages as individual documents

How do I save a 191 page document as 191 one-page documents?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Dawn Crosier, Word MVP Dawn Crosier, Word MVP is offline
external usenet poster
 
Posts: 425
Default Save pages as individual documents

Here is some macro code that will help you...

If you need help in using the code below, then see
http://www.gmayor.com/installing_macro.htm



Sub CopyEachPageToAFile()

'written by dian@mousetrax

'PURPOSE: copies each page in a doc to a newly saved file



'declare vars

Dim intPageNum As Integer

Dim i As Integer



'find out how many pages you have in the doc

intPageNum = ActiveDocument.BuiltInDocumentProperties(wdPropert yPages)



'turn off screen updating

Application.ScreenUpdating = False



'from 1 to max pages, do the following

For i = 1 To intPageNum



'go to next page (increments with each pass)

Selection.GoTo What:=wdGoToPage, Which:=wdGoToFirst, Count:=i



'select the current page

ActiveDocument.Bookmarks("\Page").Range.Select



'copy the page (current selection)

Selection.Copy



'open a new blank page

Documents.Add DocumentType:=wdNewBlankDocument



'dump in copy from clipboard

Selection.Paste



'save the file with some name and current number

ActiveDocument.SaveAs "myFile" & i



'close this new doc

ActiveDocument.Close



'go to next page and do it again

Next i



'turn updating back on

Application.ScreenUpdating = True



End Sub


--
Dawn Crosier
Microsoft MVP
"Education Lasts a Lifetime"

This message was posted to a newsgroup, Please post replies and questions
to the group so that others can learn as well.
"Chase" wrote in message
...
How do I save a 191 page document as 191 one-page documents?


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Save pages as individual documents

While Dawn's macro may suffice, Word is not a page layout application so the
results may not be what you expect.
If this is a merge that you are splitting see -
http://www.gmayor.com/individual_merge_letters.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Chase wrote:
How do I save a 191 page document as 191 one-page documents?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to save individual HTML pages? raylaur Microsoft Word Help 4 February 20th 07 07:15 AM
save mass merged documents as seperate, individual letters cran Mailmerge 1 June 13th 06 07:36 PM
import individual record frm excel in individual word pages Sohail Mailmerge 1 January 9th 06 12:40 PM
how to save a single page from a five pages documents? jean-clement Microsoft Word Help 1 June 17th 05 01:05 PM
Can you save individual document pages as seperate word files? John Calligy Mailmerge 2 April 12th 05 09:14 AM


All times are GMT +1. The time now is 05:37 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"