Home     Products      Support      Corporate     Sign In 

Visual Studio Magazine LogoSoftArtisans ExcelWriter

First Looks:
Deliver Spreadsheets Over the Web

by Ken Cox

October 2001 Issue

View Article on Fawcette.com:
http://www.fawcette.com/Archives/premier/mgznarch/vbpj/2001/10oct01/fl0110/fl0110_3.asp

Note: The product reviewed in this article is an old version of ExcelWriter.

ExcelWriter 2.0 is a server-side component for Internet Information Server (IIS) that generates Microsoft Excel spreadsheets from a data source. Using Active Server Pages (ASP), you can produce text, graphs, and charts that correspond to the BIFF 8 format used by Excel 97, 2000, and 2002. This capability lets you take advantage of Excel's rich formatting and formulas while providing the latest statistics from your database. The budget-conscious should take note that you don't even need to buy Excel to run or view reports—the component works without requiring Excel on the Web server, and Microsoft offers a free Excel reader.

SoftArtisans OfficeWriter

Generate Excel Spreadsheets -
Without Excel
   Enlarge image.

During the easy installation, watch for a privacy issue. The license says the product sends your registration data to SoftArtisans automatically. Specifically, "HRESULT of registration, Username, Computername, Domainname, Time Zone, OS Version, Locale Id, Browser Version, Source IP Address and CPU count."

To give ExcelWriter a spin, I used ASP to read data from an Access database and push the results out to Excel as a sorted table. Thanks to the example files, producing a simple spreadsheet application takes only a few minutes. Use the familiar ActiveX Data Objects (ADO) to connect to the database and execute a SQL query. After assigning values to the cells, you define the style of the columns using ExcelWriter's CreateStyle method. For example, you can format a date using DateStyle.Number = 17, or you can set the width of a text column using cells.ColumnWidth(i) = 20.

If you're generating Excel spreadsheets, you probably also want to display charts. ExcelWriter makes that easy, too. In many ways, you are repeating the programmatic steps you would take if you were working on the spreadsheet within Excel. For example, to show a 3-D bar chart, you generate the data, put it into cells, select ranges, and set the format for the type of chart. Anyone who is comfortable in VBA will grasp the objects in ExcelWriter easily. One disappointment is its lack of support for pivot tables. That addition would give it a big competitive boost against reporting products from Crystal Decisions.

In my examples, I generated spreadsheets on the fly. For static reports, schedule a Windows Scripting Host script to write a single XLS file to the file system instead of streaming new spreadsheets to each user.

ExcelWriter is fun to use, works well, and provides good documentation and example code. For the forward-thinking purchaser, SoftArtisans' Web site shows the product working already in ASP .NET. A server license starts at $799 per CPU for the light version, but you'll have to contact the company on pricing out the full version of the software because it is "negotiated on a per purchase basis." You can obtain a free evaluation download from http://support.softartisans.com/eval.aspx.


About the Author

Ken Cox is a technical writer and Web applications developer in Toronto. A former broadcast journalist, Ken is also a Microsoft MVP. Reach Ken at kjopc@hotmail.com.

OfficeWriter
Evaluate
Features
OfficeWriter Features
Office on the Server
Two-Way Data Update
Return on Investment
Performance Testing
New Features in v3.5
Features for Excel
Features for Word
Customers & Partners
OfficeWriter Customers
Customer List
Success Stories
Product Reviews
OfficeWriter Partners
OEM & Reseller
Web Hosting
Platforms
OfficeWriter Platforms
ASP & ASP.NET
SQL Reporting Services
System Requirements
Product Resources
OfficeWriter Resources
OfficeWriter FAQ
Getting Started
System Requirements
Brochures
Order OfficeWriter
Order OfficeWriter
Developer License
Order Upgrade
Pricing & Licensing
Self-Help Resources
Support Home
Knowledge Base
OfficeWriter Docs
OfficeWriter Forums
Sample Code
Version Differences
Support Options
Support Subscriptions
Maintenance Plans
Per-Issue Support
Consulting
Training
Support Request Form
Downloads
Evaluation Software
Product Updates
Corporate
About SoftArtisans
Contact Us
Partners
Resellers & OEMs
Web Hosting
Order Info/Privacy Policy
Career Opportunities

To learn more about Officewriter and pricing information, contact SoftArtisans:

 
Email: sales@softartisans.com
Toll Free:1(877)SOFTART(763-8278), option 1
International:+1(617)607-8800, option 1
Purchase  |  Evaluate  |  Demos  |  Support  |  Contact Us  |  Site Map
Copyright 2008 © SoftArtisans, Inc. All Rights Reserved.