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
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 <
[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410