View Single Post
 
Old 08-05-2013, 08:37 PM
Charles Kenyon Charles Kenyon is offline Windows Vista Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,530
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Word does not know pages, it forms them on the fly according to the dictates of a printer driver. Therefore, programming pages in vba is an exercise in frustration, at least for me.

How are you marking the beginning/end of your pages?

Why not simply do a replace for empty paragraphs, period?

Properly written, a Word document will not have empty paragraphs.

Pages will begin either when text flows into them (no empty paragraph) or because there was page break before formatting for the first paragraph (heading styles often have this). Again, no empty paragraphs.

Basic concepts of Microsoft Word: An introduction

Understanding Styles in Microsoft Word

Basic Formatting in Microsoft Word
Reply With Quote