troubleshooting Question

delete blank pages by means of VBA

Avatar of Andreas Hermle
Andreas HermleFlag for Germany asked on
VBAMicrosoft WordMicrosoft Office
10 Comments1 Solution866 ViewsLast Modified:
Dear Experts:

I got  a huge decument with more than 600 pages ...
... where there are empty pages that are a result of a manual page break (the page break being at the very top of the page).


If I delete this page break manually, an empty paragraph mark remains which also needs to be deleted.

Could somebody please come up with a code that deletes all these empty pages along with the ensuing blank paragraph mark.

Help is much appreciated. Thank you very much in advance.

Regards, Andreas
Excel VBA Developer
Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros