ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Add Header/Footer to excel report from ASP.. (https://www.excelbanter.com/excel-discussion-misc-queries/102561-add-header-footer-excel-report-asp.html)

[email protected]

Add Header/Footer to excel report from ASP..
 
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


Eric

import text file contains emails into access table
 
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


Eric

import text file contains emails into access table
 
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


Eric

import text file contains emails into access table
 
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


[email protected]

Add Header/Footer to excel report from ASP..
 
Hi all,

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

Add a pair of <style tags 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...

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




All times are GMT +1. The time now is 10:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com