Hi:
There's good news and bad news about what you want to do.
The good news is that ODS Tagsets.ExcelXP automatically creates multiple worksheet workbooks in Excel. The bad news is that by Microsoft design/specification Spreadsheet ML (Excel XML) does NOT support graphs. If you try to create graphs in an ExcelXP output file, you get this message in the log:
[pre]
Excel XML does not support output from Proc:Gchart
Output will not be created.
[/pre]
There -is- still good news. If you use ODS HTML or ODS MSOFFICE2K, you can create multiple, separate HTML files, each with a graph on/in it. Then, using a different approach, you can LINK the files together. Microsoft will allow each separate HTML file to be a worksheet, however, ALL the files have to live in a subdirectory. So let's say that you want to call your workbook BigRept.html and it will be stored in c:\temp:
c:\temp\BigRept.html
you will need a subdirectory called:
c:\temp\BigRept_files
in the BigRept_files directory, you will have your ODS HTML files AND the graph images files and maybe a CSS file. Let's say the files are stored like this:
c:\temp\BigRept_files\chart1.html
c:\temp\BigRept_files\chart2.html
c:\temp\BigRept_files\chart3.html
Then, you also need an "organizing" file...let's call that file orglist.xml and it, too is in the subdirectory: c:\temp\BigRept_files\orglist.xml
and it looks like this:
[pre]
<xml xmlns:o="urn:schemas-microsoft-com:office:office">
<o:MainFile href="BigRept.html"/>
<o:File href="chart1.html"/>
<o:File href="chart2.html"/>
<o:File href="chart3.html"/>
<o:File href="Orglist.xml"/>
</xml>[/pre]
Now, back to your "top" file c:\temp\BigRept.html (or you could call it BigRept.xls), it has to contain ALL the related file names (like those shown in Orglist.xml), but in a different format:[pre]
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">
[/pre]
Now, if you call this file BigRept.xls and IF you have your subdirectory created and place all the related file in the subdirectory, then when you double click on BigRept.xls, then Excel should open all the related files together.
If you call the file BigRept.html, then you have to Right Mouse click and either do an Open with Excel or you have to open Excel and manually open the HTML file. Either way, you will get a multi sheet workbook -including- graphics.
This approach is outined in this R&D presentation:
http://support.sas.com/rnd/base/topics/excel/multisheet_excel_post.ppt
So, the good news is that you can do what you want, it just takes a bit more work than using Spreadsheet Markup Language.
cynthia
... View more