Skip to content

Instantly share code, notes, and snippets.

@rapsacnz
Last active February 23, 2016 17:52
Show Gist options
  • Save rapsacnz/a073aa360c5d51011061 to your computer and use it in GitHub Desktop.
Save rapsacnz/a073aa360c5d51011061 to your computer and use it in GitHub Desktop.
<apex:page id="pg" standardStylesheets="false" controller="ExcelExportController"
contenttype="application/vnd.ms-excel#TestExport_{!TODAY()}.xls">
<apex:outputText value="{!xmlheader}" escape="false"/>
<!-- your excel output goes here -->
<apex:outputText value="{!endfile}" escape="false"/>
</apex:page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment