View Single Post
 
Old 12-31-2020, 06:55 PM
Lefemmenikita Lefemmenikita is offline Windows 10 Office 2013
Novice
 
Join Date: Dec 2020
Posts: 4
Lefemmenikita is on a distinguished road
Default Deleting specific pages from Word with VBA

Hi there

I had a question related to an existing old thread here: https://www.msofficeforums.com/word-...-document.html

I have a word document that has blank pages in between the document as a result of continuous section breaks.

I have found the macro linked above correctly identifies the pages which need to be deleted.

How do I modify the macro so that rather than it outputting what the blank pages are in a message box, it actually deletes the pages instead?

Thanks
Reply With Quote