By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,739 Members | 1,523 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,739 IT Pros & Developers. It's quick & easy.

Add Header/Footer to excel report from ASP..

P: n/a
Hi all,

I'm trying to generate an excel report from an ASP web page using ..

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

I need to add a custom header & footer to the excel report on
generation. Is there a way to do this from the web without installing
Excel on the webserver? ..

Any help is appreciated...thanks
mj

Aug 1 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hi: I have 100's of records in my inbox which i saved into a text file.
I need help how to i import them into access table through ASP.

Thanks,

Eric

Aug 2 '06 #2

P: n/a
Hi: I have 100's of records in my inbox which i saved into a text file.
I need help how to i import them into access table through ASP.

Thanks,

Eric

Aug 2 '06 #3

P: n/a
Hi: I have 100's of records in my inbox which i saved into a text file.
I need help how to i import them into access table through ASP.

Thanks,

Eric

Aug 2 '06 #4

P: n/a
Hi all,

I found a solution to my problem..thought I'd share

Add a pair of <styletags to the asp code with the following (eg.)

<style>
<!--headfoot
{mso-displayed-decimal-separator:"\.";
mso-displayed-thousand-separator:"\,";}
@page
{mso-header-data:"&LHeaderText";
mso-footer-data:"Page &P of &N";
margin:1.0in .75in 1.0in .75in;
mso-header-margin:.5in;
mso-footer-margin:.5in;} -->
</style>

This sets the Header/Footer for the excel report generated...

jm******@gmail.com wrote:
Hi all,

I'm trying to generate an excel report from an ASP web page using ..

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

I need to add a custom header & footer to the excel report on
generation. Is there a way to do this from the web without installing
Excel on the webserver? ..

Any help is appreciated...thanks
mj
Aug 2 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.