function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
uptime_andrewuptime_andrew 

Render Visualforce Page as Excel Doc - Styling Cells

Has anyone done much work with rendering a Visualforce page as an Excel file, then styling the document.  In particular:

 

- forcing no text wrapping within cell or merging 2 cells to show long lines of content

- borders around blocks of cells

Dhawal SaiyaDhawal Saiya

Hi andrew,

 

visualforce tags are not supported in the Excel doc (visualforce page rendered as Excel). So in order to enforce no text wrapping and displaying borders for the block, we will have to design visualforce page in purely HTML format.