Perhaps a more comprehensive code snippet to fully duplicate the problem?
Lior Shliechkorn wrote:
Any ideas on why I can't get it to work?
Danny Mui <[EMAIL PROTECTED]> wrote:looks simple enough to match the test cases that were written but will investigate nonetheless.
both calls end up using the same logic so they should be consistently wrong/right hehe.
Lior Shliechkorn wrote:
Hi,
I'm trying to set a print area so that my file can fit on one page. However, I'm not getting the results I need from the setPrintArea() - both methods.
This is what I'm doing:
wb.setPrintArea(0, "$A$1:$N$" + GLOBAL_ROW_COUNT);
or
wb.setPrintArea(0, 0, 15, 0, (int) GLOBAL_ROW_COUNT);
The global_row_count just keeps track on which row I am on the page - pretty self-explanatory.
The problem is that it's doing ok on the row side, but on the column side it's still cutting off around column J.
Any ideas on how to get around this issue?
Thank you very much,
Lior Shliechkorn
--------------------------------- Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------- Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]