You need to sign in to do that
Don't have an account?

Visualforce <apex:page> contenttype as excel (application/vnd.ms-excel)
Hi,
I am trying to render a VF as MS excel file with formattings like adding a logo into header, orientation:landscape, and with page breaks.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style type="text/css">
@page
{
size:landscape;
mso-page-orientation:landscape;
mso-header-data:"&[http://www.google.com/images/logos/ps_logo2.png";
mso-footer-data: "Page &P of &N ";
margin:.3in .3in .3in .3in;
mso-header-margin:.18in;
mso-footer-margin:.20in;
}
</style>
</head>
But nothing works except footer. If anyone has any solutions, Kindly help me.
P.S: My requirement demands to render only as excel and not as PDF
Have you found any solution how to insert images in Excel?