views:

30

answers:

2

Hi All,

How can I delete certain page from MS Word document using macros? The code should be compatible from 2000 to Word 2010.

I've tried using page bookmark to delete page but, output is varying in different versions. Is there any other solution than this?

+1  A: 

There isn't a generic answer, you will have to figure out logic that will work for your specific document layout based on the Rectangles collection of the Page object.

This link will help you figure out the details.

Lance Roberts