C
Cameron
I have a word document that has a Table of Contents that uses hyperlinks. The
user selects the article they would like to view via the TOC and is taken to
the document. from there they click on a button on the page that is to print
out the document currently in view. However some of the documents have
overflown into two or more pages. Is there a way to build a function that the
document runs prior to the user clicking on the TOC so that the function
knows the number of pages assigned to each link in the TOC. That function
then passes the number of pages to the Application.PrintOut method to assure
that all the pages are printed?
The function would have to be smart enough to figure out the pages as this
function would be embedded in a template file for further use by the users.
user selects the article they would like to view via the TOC and is taken to
the document. from there they click on a button on the page that is to print
out the document currently in view. However some of the documents have
overflown into two or more pages. Is there a way to build a function that the
document runs prior to the user clicking on the TOC so that the function
knows the number of pages assigned to each link in the TOC. That function
then passes the number of pages to the Application.PrintOut method to assure
that all the pages are printed?
The function would have to be smart enough to figure out the pages as this
function would be embedded in a template file for further use by the users.