ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Using VSTO to Print Excel Document without Empty Pages (https://www.excelbanter.com/excel-programming/387338-using-vsto-print-excel-document-without-empty-pages.html)

RichClaussen

Using VSTO to Print Excel Document without Empty Pages
 
I am new to the idea of using VSTO and Office development in general.

We have a need from C# to print Excel documents with all of the content, but
without blank pages. In other words, given a sparsely populated spreadsheet
that would require, for example, three pages across and two pages down, I
would like to skip any pages that do not have any actual content and would
appear blank.

This does not include header/footer, of course.

Thoughts folks?

--
Rich Claussen
Portland, Oregon


All times are GMT +1. The time now is 05:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com