YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: 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

Page 2: Creating highly customized, binary Excel files using  XML…  99.3% of the time

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

Page 3: Creating highly customized, binary Excel files using  XML…  99.3% of the time

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

Page 4: Creating highly customized, binary Excel files using  XML…  99.3% of the time

Example Report

Page 5: Creating highly customized, binary Excel files using  XML…  99.3% of the time

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

Page 6: Creating highly customized, binary Excel files using  XML…  99.3% of the time

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

Page 7: Creating highly customized, binary Excel files using  XML…  99.3% of the time

SCP Process for Solving Problem

One time processes

Tune code

Page 8: Creating highly customized, binary Excel files using  XML…  99.3% of the time

Author contact information second lineAuthor contact information second line

DEMO TIMEDEMO TIME

Page 9: Creating highly customized, binary Excel files using  XML…  99.3% of the 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

Page 10: Creating highly customized, binary Excel files using  XML…  99.3% of the time

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


Related Documents