Not sure if that would work.
The sheet I am trying to print has the page breaks pre-set so that the formating stays intact. All I really need to do is figure out how to pass the total number of pages (in this case the page number of the last page) to that function, so that it will print only pages 1-6 instead of the whole print (~96 pages) area.
I know something is wrong with the way I am trying to pass the number to the function, but I can't figure it out.
Please close - Figured out why it was not working.
Working Code below:
Bookmarks