I can't really include more of a code segement than I already did...=\. But the problem I'm having doesn't seem to come from the rows themselves, which works fine for me as well, but the problem is in the columns being cut off. I want to print up to column N, but I get cut off at J. Any ideas, or did this happen to you as well? Thanks
Danny Mui <[EMAIL PROTECTED]> wrote: I just tried it with row counts from 40-1000 and it seems to work properly. 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 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] --------------------------------- Do you Yahoo!? Yahoo! Photos - Get your photo on the big screen in Times Square
