Creating highly customized, binary Excel files using XML… 99.3% of the time
-
Upload
xanthus-chandler -
Category
Documents
-
view
22 -
download
2
description
Transcript of Creating highly customized, binary Excel files using XML… 99.3% of the time
Creating highly Creating highly customized, binary Excel customized, binary Excel files using XML… 99.3% files using XML… 99.3% of the timeof the time
“42.7 percent of all statistics are made up on the spot.” – Steven Wright
Author contact information second lineAuthor contact information second line
Alan Churchill, Savian, LLCAlan Churchill, Savian, LLCDon Henderson, HCSBIDon Henderson, HCSBI
[email protected]@[email protected]@hcsbi.com
Scenario
Client would like a lot of Excel reports created by SAS and they are highly customized (formats, graphs, printing options, etc.)
Replicate these every day using my data from
SAS…
I need this done fast
Customer
Example Report
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
Author contact information second lineAuthor contact information second line
DEMO TIMEDEMO TIME
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
Author contact information second lineAuthor contact information second line
Alan Churchill, Savian, LLCAlan Churchill, Savian, LLCDon Henderson, HCSBIDon Henderson, HCSBI
[email protected]@[email protected]@hcsbi.com
http://www.sascommunity.org/wiki/SaviCellsPro_-_SGF_2010