Deleting Pages (pages collection)

A

Adam Saunders

G'day, I have been asked to write a macro that will
delete pages X,Y,Z from a word document. I'm having
trouble as there seems to be no easy way to delete a
page. I was hoping there would be a pages collection so
the code would go something like:
activedocument.pages(10).delete
or
activedocument.pages(10).remove

Does anyone have any ideas how or what the code is to
delete a certain page in WORD... I'm using word xp if that
makes a difference..

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top