100 likes | 197 Views
Creating highly customized, binary Excel files using XML… 99.3% of the time. “42.7 percent of all statistics are made up on the spot.” – Steven Wright. Alan Churchill, Savian, LLC Don Henderson, HCSBI. alan.churchill@savian.net don.henderson@hcsbi.com. Scenario.
E N D
Creating highly customized, binary Excel files using XML… 99.3% of the time “42.7 percent of all statistics are made up on the spot.” – Steven Wright
Alan Churchill, Savian, LLCDon Henderson, HCSBI alan.churchill@savian.netdon.henderson@hcsbi.com
Scenario Replicate these every day using my data from SAS… I need this done fast • Client would like a lot of Excel reports created by SAS and they are highly customized (formats, graphs, printing options, etc.) • Customer
What are the SAS options for doing this? • DDE, proc export, libname engine • Old and can be difficult to work with (DDE) • May not support newer Excel features and versions • May require a separate license to create binary files • ODS using proc report and the ExcelXP tagset • Complicated • Close in many cases…but not close enough • Very labor intensive • Does not generate binary workbooks • Does not handle Excel graphs
SaviCellsPro (SCP) • SCP is Windows-based. • Supports native Excel binaries in 2003 & 2007 format • Uses a template for the Excel layout which is then fed into the SCP engine • Supports Excel graphics • SAS can be used on any platform to modify the template and insert data • Companion tool generates template from existing workbook
SCP Process for Solving Problem One time processes Tune code
SCP Negatives • Windows-centric • Does not handle proc output. SCP’s intent is to create ‘customized’ workbooks • Has to be executed from a command prompt or via the X command in SAS
http://www.sascommunity.org/wiki/SaviCellsPro_-_SGF_2010 Alan Churchill, Savian, LLCDon Henderson, HCSBI alan.churchill@savian.netdon.henderson@hcsbi.com