Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I get a MACRO to delete certain pages
How do I get a macro to delete certain pages after the document is saved
-- Robb |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I get a MACRO to delete certain pages
Hi Rob:
You can't actually do this, because a Word document file does not contain any "pages" to be deleted. "Pages" are "invented" by Word when the document is sent to the screen or printer, they do not exist in the file to be found or deleted. However, you can create various work-arounds. One of the simplest is to bookmark the various pages: "MarkPage1", "MarkPage2", "MarkPage3" etc. Then it's simply to make a macro to select and delete the content of, for example, "MarkPage2". Note that as soon as you do, Page 3 will become page 2 :-) Perhaps if you tell us what you are trying to accomplish we can be of more help? Cheers On 9/2/06 9:04 AM, in article , "Robb @ FLW" wrote: How do I get a macro to delete certain pages after the document is saved -- Please reply to the newsgroup to maintain the thread. Please do not email me unless I ask you to. John McGhie Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer Sydney, Australia +61 (0) 4 1209 1410 |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I get a MACRO to delete certain pages
|
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I delete phantom pages/sections in my Word 2003 document? | Microsoft Word Help | |||
Macro doesn't work | Microsoft Word Help | |||
How to delete additional pages MS automatically adds | Microsoft Word Help | |||
How to delete additional pages MS automatically adds | Mailmerge | |||
How do I delete one of the pages in Word but keep the other? | Microsoft Word Help |