473,387 Members | 1,572 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

formatted Excel Report

I've seen examples of this in classic asp - but there is probably an easier
way to do this. I have a client that wants 'downloadable' excel spreadsheet
reports - i do not have control over my web server so i cannot use the Excel
object model or SQL Reporting, Crystal, etc. The classic asp solution works
like this. 1) Insert your data into a office 2003 Excel worksheet - format it
and save it as XML. 2) Open it up in a text editor and strip out META data
about author, etc. save the Style only tags somewhere - like your SQL server.
3) configure your asp page to set the mime type (content) and open the
recordset. 4) push it to the web page while applying your style sheet.
(somehow). Are there any tools to help do this - rip out the embedded style
of an excel worksheet - making a template? Does anyone have a simple example
of how to do the rest of this in 1.14 framework with vb code behinds? I need
to format this data to look good - plus add Sums on colums - insert hard page
breaks at groupings, etc.
Frank Kirchner
Programmer Analyst
Regional Development
SYSCO Corp.
Jun 28 '06 #1
1 1378
Reply to my own request - I found an excellent example it works - i'm having
trouble however tweaking the xslt file to match my own needs. Anyway here is
the link. http://support.microsoft.com/default...b;en-us;319180

--
Frank Kirchner
Programmer Analyst
Regional Development
SYSCO Corp.
"frankkirchner" wrote:
I've seen examples of this in classic asp - but there is probably an easier
way to do this. I have a client that wants 'downloadable' excel spreadsheet
reports - i do not have control over my web server so i cannot use the Excel
object model or SQL Reporting, Crystal, etc. The classic asp solution works
like this. 1) Insert your data into a office 2003 Excel worksheet - format it
and save it as XML. 2) Open it up in a text editor and strip out META data
about author, etc. save the Style only tags somewhere - like your SQL server.
3) configure your asp page to set the mime type (content) and open the
recordset. 4) push it to the web page while applying your style sheet.
(somehow). Are there any tools to help do this - rip out the embedded style
of an excel worksheet - making a template? Does anyone have a simple example
of how to do the rest of this in 1.14 framework with vb code behinds? I need
to format this data to look good - plus add Sums on colums - insert hard page
breaks at groupings, etc.
Frank Kirchner
Programmer Analyst
Regional Development
SYSCO Corp.

Jun 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Spacy | last post by:
Am creating a HTML Report in asp.net. To save this report to excel on client-side, i write this code: Response.ContentType = "application/vnd.ms-excel" Response.AddHeader("content-disposition",...
0
by: hank755_ca | last post by:
Hello, I have a report in Access which I want to export to Excel with the formatting intact. The formatting is rather complex with several headings and fields with borders. I have tried the...
4
by: .NETUser | last post by:
Hello, I am doing research on printing in VB.NET and I would like to know how I can use XML to format three different reports. I'm new to this, so I don't know how to include this in my .NET...
0
by: Grip | last post by:
Hi, I have gone throught the group and Microsoft's online help and have seen many suggestions but I am still seeking clarity: 1. I have an excel spreadsheet. Column A contains text that may...
4
by: somanyusernamesaretakenal | last post by:
What I am trying to achieve: Basically I have generated a report in access. This report needs to be updated using excel. (Updating the new data, not changing existing data) What I did was I...
1
by: Sport Girl | last post by:
Hi everybody , i have the task of developing in Perl a script that retrieves data from 3 tables ( bugs, profiles, products) from a MySQL database called bugs and display them in an excel sheet...
6
by: Eddie | last post by:
Hi all, I am displaying a number of reports, and giving the users an option to display them on the web or download them to Excel. If they want the Excel file, I just use the PHP header command...
2
by: ezra | last post by:
I have an access report based on a bunch of queries that does a quarterly summary of some research related stats. Now my boss wants this report to export into excel based on a specific format she has...
2
hemantbasva
by: hemantbasva | last post by:
Note We need to have a template on server for generating report in multiple sheet as we do not had msoffice on server moreover this require a batch job to delete excel file created by the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.