Skip to Main Content

Export formatted content to Excel without printing engine

This page demonstrates how HTML content can be exported to excel without losing the formatting.
First the content of the demo report is copied into an APEX item and made suitable for Excel import. This is done using custom JavaScript (see JavaScript tab).
Then the page is submitted with the request EXPORT_EXCEL and upon load the content of the APEX item containing the HTML is downloaded as a file.

Info

More information in this blogpost

Demo Report

report error:
ORA-00942: table or view does not exist

HTML content

APEX objects

Branch

Process pointAfter processing
Sequence-1
Target > Target850
Targte > Advanced > RequestEXPORT_EXCEL
Condition > TypeRequest = Value
Condition > ValueEXPORT_EXCEL

JavaScript