Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Putting header and footer info in an Excel spreadsheet generated using Response obj

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-23-03, 22:05
Strawberri Strawberri is offline
Registered User
 
Join Date: Apr 2003
Posts: 1
Putting header and footer info in an Excel spreadsheet generated using Response obj

Hi,

I'm currently developing an ASP page that uses the following code so that Excel will interpret the data in the webpage:

Response.ContentType = "application/vnd.ms-excel"

The data is being interpreted and displayed properly, but I also need the Excel report to have a header and a footer, so that it would look nice and professional when printed out.

Any ideas?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 04-24-03, 15:02
rhs98 rhs98 is offline
Moderator
 
Join Date: Feb 2002
Location: Hampshire, UK
Posts: 440
Are you outputting Excel code? or is it XML or ...?

If its the actual excel code your best bet is to ask a group like the OpenOffice.org (http://www.openoffice.org/) group (they make an Open Source Microsoft Office replacement, including Excel) or another opensource group dealing with Office.

Or;
http://www.google.com/search?hl=en&l...oogle+S earch
http://www.google.com/search?hl=en&l...rmat%22+header

Sounds interesting though!

Is it personal or commerical?
Reply With Quote
  #3 (permalink)  
Old 04-26-03, 00:51
duckworth duckworth is offline
Registered User
 
Join Date: Apr 2003
Location: NY
Posts: 3
Re: Putting header and footer info in an Excel spreadsheet generated using Response obj

I'm not sure which method your using, the urn:schemas-microsoft-com:office:excel xml outout or just writing html and letting excel interpret it, but you should be fine with putting a standard html table with your header information in it before your data and another table after your data with your footer info.

-John Lemp
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On