My problem is solved.
The root cause was I hadn't considered: a combination of hidden text and tracked changes was doing odd things to the page counts. After saving the document and before doing the first page count, I selected all the document text and set font.hidden to false. It yielded...
I just gave that a try -- with and without the first repagination command-- and it's giving me the same numbers as before.
Before my initial post, I also tried ActiveDocument.BuiltInDocumentProperties("Number of Pages") and doing a selection.text from the "Page # of ##" in the footer. I hadn't...
My code goes through a folder of documents and deletes a section from each. Sometimes, particularly when Track Changes are on, an unwanted byproduct is a blank page. Accept the changes, and the blank page goes away. I want to keep track of the documents where this happens through these steps...
Oops -- should have addressed that in my first post.
The subform has controls with click events that requery other controls in the subform. I tried commenting out that out, and I'm still getting the problem.
The combo box of my master form has an After Update event that resets where clause of...
My parent form has a combo box that lists documents; selection of a document from the combo box populates a continuous forms subform that has details of all the versions of the document.
Everything displays fine, and the subform selects the first record in the version list by default. When I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.