B
Barry555
I'm trying to delete the last page of a 4 page document. All pages have the
same header and footer.
I've tried macropod's code from 15/8/08 (slightly amended as I'm using late
binding):
objDoc.Application.Selection.Goto 1, -1 ' wdGoToPage, wdGoToLast
objDoc.Bookmarks("\Page").Range.Delete
This clears all the text (except in the header & footer) from the page, but
doesn't actually delete the page! I'm assuming this is because of the header
and footer. How can I actually delete the page?
same header and footer.
I've tried macropod's code from 15/8/08 (slightly amended as I'm using late
binding):
objDoc.Application.Selection.Goto 1, -1 ' wdGoToPage, wdGoToLast
objDoc.Bookmarks("\Page").Range.Delete
This clears all the text (except in the header & footer) from the page, but
doesn't actually delete the page! I'm assuming this is because of the header
and footer. How can I actually delete the page?