| | |
SAS ODS HTML page breaks for Excel
Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
![]() |
I am not sure if it is possible, but I am creating a SAS report using ODS HTML and I am saving it as a .xls so it is opened with Microsoft Excel. I am wondering if it is possible to program in the page breaks, so that I can control what tables show up on what pages and to prevent parts of tables being orphaned from the rest of the table. Any help would be greatly appreciated.
Thanks,
Nick
Thanks,
Nick
Hi there,
I was trying to do the same with HTML for Excel, and so far the only option I see is to insert RowBreak XML tags into HTML header where Excel-related settings are kept when generating the report. Excel does not understand CSS attributes such as page-break-after, page-break-before or page-break-inside. Also on W3C website it is said to avoid using these attributes inside tables, what in Excel is the main container element usually.
My initial testing went with Excel 2003.Today tried to test with 2007 version and it is still the same, CSS page-breaks are not understood and this is probably because the file is named with *.xls extension and maybe Excel 2007 tries to render HTML/XLS document with Excel 2003 engine.
Anyway, if you find out anything usefull, please tell me, because I don't want to leave page-break adjusting to user, everything has to be automatic. Thanks.
I was trying to do the same with HTML for Excel, and so far the only option I see is to insert RowBreak XML tags into HTML header where Excel-related settings are kept when generating the report. Excel does not understand CSS attributes such as page-break-after, page-break-before or page-break-inside. Also on W3C website it is said to avoid using these attributes inside tables, what in Excel is the main container element usually.
My initial testing went with Excel 2003.Today tried to test with 2007 version and it is still the same, CSS page-breaks are not understood and this is probably because the file is named with *.xls extension and maybe Excel 2007 tries to render HTML/XLS document with Excel 2003 engine.
Anyway, if you find out anything usefull, please tell me, because I don't want to leave page-break adjusting to user, everything has to be automatic. Thanks.
Last edited by Romasio; Feb 9th, 2009 at 2:58 am.
Success is overrated. Survival is fun.
![]() |
Similar Threads
- Can I use a template html page within another html page (Site Layout and Usability)
- How To Hyperlink Normal HTML page with ASP.NET Page? (ASP.NET)
- How to set html page size attributes (HTML and CSS)
- PHP in a html page? (PHP)
- How to Embed CheckList Box on HTML Page using Java Script (HTML and CSS)
- Calling function to add HTML to the page (ASP.NET)
Other Threads in the Computer Science Forum
- Previous Thread: Stanford Online!->Course | Programming Methodology
- Next Thread: Working of Lexical analyzer
| Thread Tools | Search this Thread |
Tag cloud for Computer Science
ai algorithm algorithms assignment assignmenthelp assignments automata battery bigbrother binary bittorrent bizarre bletchleypark blogging bomb business codebreaker compiler computer computerscience connect conversion csc data dataanalysis dataintepretation development dfa dissertation dissertationthesis dissertationtopic employment energy extensions foreclosure foreclosuresoftware fuel geeks givemetehcodez government graphics hardware history homeowners homework homeworkassignment homeworkhelp humor ibm idea ideas internet iphone ipod jobs kindle laser laws lazy linkbait lsmeans mainframes marketing mining mobileapplication msaccess nano netbeans news os p2p parser piracy piratebay principles programming rasterizer research sam-being-cute sas science security simulation software spoonfeeding spying sql stephenfry student supercomputer supercomputing sweden technology tree turing turingtest two'scompliment virus warehouse ww2





