Hi.
I'm having trouble formatting a generated excel page. I'm using
<code>
<% Response.ContentType = "application/vnd.ms-excel" %>
<HTML xmlns:x="urn:schemas-microsoft-com
ffice:excel">
<HEAD>
<style>
<!--table
@page
{
mso-page-orientation: landscape;
mso-header-data:"&CTitle\000ADate\: &D\000APage &P";
}
-->
</style>
[ loop through record set and out put a html table ]
</code>
The page doesn't seem to format to landscape, plus I need the page to print on to one page without the end user having to select Fit-To-Page from the page layout menu.
Does anybody have any ideas?
Thanks in advance.
- Craig.
I'm having trouble formatting a generated excel page. I'm using
<code>
<% Response.ContentType = "application/vnd.ms-excel" %>
<HTML xmlns:x="urn:schemas-microsoft-com
<HEAD>
<style>
<!--table
@page
{
mso-page-orientation: landscape;
mso-header-data:"&CTitle\000ADate\: &D\000APage &P";
}
-->
</style>
[ loop through record set and out put a html table ]
</code>
The page doesn't seem to format to landscape, plus I need the page to print on to one page without the end user having to select Fit-To-Page from the page layout menu.
Does anybody have any ideas?
Thanks in advance.
- Craig.