I frequently find that my programs trip over themselves unless I insert a time delay in the code. I insert a time delay by starting a counter to count to 500 or 100 or whatever.
One recent example is getting MSWord to paginate a document. I needed to access BuiltInDocumentProperties for...
Thank you, tsuji. I got it to work. Another question, though: I was trying to make it print using the syntax:
Dim intPages As Integer
Dim intPagesAppended As Integer
intPages = ActiveDocument.BuiltInDocumentProperties (wdPropertyPages)
intPagesAppended = intPages + 10...
I have a multi-page MSWord document. I append a section to the end of the document. I want to PRINT ONLY the last page or pages that this appended section is on.
Application is medical records: add information from most recent patient encounter at the end of the MSWord document for that...
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.