View Single Post
  #2   Report Post  
Posted to microsoft.public.word.newusers
Greg Maxey[_2_] Greg Maxey[_2_] is offline
external usenet poster
 
Posts: 668
Default delete whole pages from doc

First you need to know that a "page" doesn't exist in a Word document until
that document is presented for display (either on the screen or on printed
paper). That presentation is determined by the printer driver and could
appear different on different PCs or the same PC using differnent drivers.
See: http://daiya.mvps.org/wordpages.htm

You could select the page you want to keep and run this macro:

Sub ScratchMacro()
Selection.Bookmarks("\Page").Range.Copy
ActiveDocument.Content.Delete
ActiveDocument.Range.Paste
End Sub


mopnodemopvo wrote:
i only want to save and use one page from a doc. how do i delete all
the other pages?


--
Greg Maxey - Word MVP

My web site http://gregmaxey.mvps.org
Word MVP web site http://word.mvps.org